httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: svn commit: r1496100 - /httpd/httpd/branches/2.0.x/STATUS
Date Mon, 24 Jun 2013 17:56:33 GMT
> +     2.0.x patch: http://people.apache.org/~wrowe/mod_rewrite-r1482349.patch
> +     +1: wrowe
> +     -1:

I think this backport stumbled on some renamed variables between 2.0
and 2.2.  "text" is the format string in 2.0 but it's the result of
vfprintf in 2.2. I think "str2" needs to be escaped in 2.0 -- see
right-hand-side below

printf "GET /foo HTTP/1.1\r\nHost: loc$(printf
"\uC3\uA0")lhost\r\n\r\n" | nc 0 8888

127.0.0.1 - - [24/Jun/2013:13:45:21 --0400]
[loc\xc3\xa0lhost/sid#118cca8][rid#121a360/initial] (2) init rewrite
engine with requested uri /foo
127.0.0.1 - - [24/Jun/2013:13:45:21 --0400]
[loc\xc3\xa0lhost/sid#118cca8][rid#121a360/initial] (3) applying
pattern '/foo' to uri '/foo'
127.0.0.1 - - [24/Jun/2013:13:45:21 --0400]
[loc\xc3\xa0lhost/sid#118cca8][rid#121a360/initial] (2) rewrite /foo
-> /bar
127.0.0.1 - - [24/Jun/2013:13:45:21 --0400]
[loc\xc3\xa0lhost/sid#118cca8][rid#121a360/initial] (2) explicitly
forcing redirect with http://locàlhost/bar
127.0.0.1 - - [24/Jun/2013:13:45:21 --0400]
[loc\xc3\xa0lhost/sid#118cca8][rid#121a360/initial] (1) escaping
http://locàlhost/bar for redirect
127.0.0.1 - - [24/Jun/2013:13:45:21 --0400]
[loc\xc3\xa0lhost/sid#118cca8][rid#121a360/initial] (1) redirect to
http://locàlhost/bar [REDIRECT/302]

Mime
View raw message