Date: Thu, 5 Mar 2009 21:30:04 GMT From: David Horn <dhorn2000@gmail.com> To: freebsd-www@FreeBSD.org Subject: Re: www/132344: [patch] www/en/cgi/query-pr.cgi broken base64 attachments Message-ID: <200903052130.n25LU4Zn094420@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR www/132344; it has been noted by GNATS. From: David Horn <dhorn2000@gmail.com> To: bug-followup@FreeBSD.org Cc: Subject: Re: www/132344: [patch] www/en/cgi/query-pr.cgi broken base64 attachments Date: Thu, 5 Mar 2009 16:27:35 -0500 --00221532cf6c3f6dce046465d607 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Some of my example pr numbers are a bit off (I guess my typing is not what it used to be) Examples should have been: 131991 130144 130000 and now for completeness, this pr will get an attachment as well so 132344 will fail to display the attachment until this fix is in place, as the problem always occurs from gmail (at least for me). --Thanks! --_Dave Horn Non quia difficilia sunt non audemus, sed quia non audemus, difficilia sunt. --00221532cf6c3f6dce046465d607 Content-Type: text/plain; charset=US-ASCII; name="query_pr.patch.txt" Content-Disposition: attachment; filename="query_pr.patch.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_frxy6ttm0 LS0tIHF1ZXJ5LXByLmNnaS5vcmlnaW5hbAkyMDA5LTAzLTA1IDE1OjI2OjAyLjAwMDAwMDAwMCAt MDUwMAorKysgcXVlcnktcHIuY2dpCTIwMDktMDMtMDUgMTU6NDc6MDMuMDAwMDAwMDAwIC0wNTAw CkBAIC02MTAsNyArNjEwLDEzIEBACiAJCQkJCQkJCWlmICgkcGF0Y2huYW1lID1+IC8kYmluYXJ5 X2ZpbGV0eXBlcy8pIHsKIAkJCQkJCQkJCSRvdXRwID0gIihCaW5hcnkgYXR0YWNobWVudCBub3Qg dmlld2FibGUuKVxuIjsKIAkJCQkJCQkJfSBlbHNlIHsKKwkJCQkJCQkJCSRvdXRwID1+IHMvXlgt QXR0YWNobWVudC1JZDogXHgwYT8vL2k7CisJCQkJCQkJCQk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HAgbmUgIiIpIHsKLQkJCXByaW50IGRlY29k ZV9iYXNlNjQoJG91dHApOworCQkJJG91dHAgPX4gcy9eWC1BdHRhY2htZW50LUlkOiBceDBhPy8v aTsKKwkJCSRvdXRwID1+IHMvXmZfLns3fVthLXpdP1swLTldKi8vaTsKKwkJCSRvdXRwID1+IHMv XmZpbGVbMC05XSovL2k7CisJCQlteSAkZGVjb2RlZF9maWxlID0gZGVjb2RlX2Jhc2U2NCgkb3V0 cCk7CisJCQlpZiAoJGRlY29kZWRfZmlsZSA9fiAvW1s6XmFzY2lpOl1dLykgeyAKKwkJCQkkZGVj b2RlZF9maWxlID0gJG91dHA7CisJCQl9CisJCQlwcmludCAoJGRlY29kZWRfZmlsZSk7CiAJCQkk b3V0cCA9ICIiOwogCQl9CiAJCXJldHVybiAtMTsK --00221532cf6c3f6dce046465d607--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903052130.n25LU4Zn094420>