You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by David Robinson <dr...@esi.co.uk> on 1998/01/09 17:38:00 UTC
Bug: %20 in QUERY_STRING
Apache 1.2.4, 1.2.5 & 1.3b3 all truncate the query_string after the
first encoded space character:
#!/usr/bin/sh
echo "Content-Type: text/plain"
echo
echo "Query String '$QUERY_STRING'"
GET http://localhost/test.cgi?foo%20bar gives
Query String 'foo'
This a real pain, but I'm afraid I don't have time to knock up a patch 8-(
David Robinson
ESI Ltd
Re: Bug: %20 in QUERY_STRING
Posted by David Robinson <dr...@esi.co.uk>.
On Fri, 9 Jan 1998, Marc Slemko wrote:
> On Fri, 9 Jan 1998, David Robinson wrote:
>
> > Apache 1.2.4, 1.2.5 & 1.3b3 all truncate the query_string after the
> > first encoded space character:
>
> I don't see it; it doesn't do that for me. You sure your client isn't
> doing it?
Arrggh... you're absolutely right. Very sorry for bothering the list.
When I click on <A HREF="test.cgi?foo%20bar">a link</A> in Netscape 3.0
Gold for BSDI, the server logs
10.1.1.1 - - [09/Jan/1998:16:53:41 +0000] "GET /test.cgi?foo bar HTTP/1.0" 200 657
David.
Re: Bug: %20 in QUERY_STRING
Posted by Marc Slemko <ma...@worldgate.com>.
On Fri, 9 Jan 1998, David Robinson wrote:
> Apache 1.2.4, 1.2.5 & 1.3b3 all truncate the query_string after the
> first encoded space character:
I don't see it; it doesn't do that for me. You sure your client isn't
doing it?
>
> #!/usr/bin/sh
> echo "Content-Type: text/plain"
> echo
> echo "Query String '$QUERY_STRING'"
>
> GET http://localhost/test.cgi?foo%20bar gives
>
> Query String 'foo'
>
> This a real pain, but I'm afraid I don't have time to knock up a patch 8-(
>
> David Robinson
> ESI Ltd
>
>