behaviour changes upgrading from nginx .6.x to .7.x

Michael McCallister mikemc-nginx at terabytemedia.com
Mon Jul 13 21:48:30 MSD 2009


Maxim Dounin wrote:
> Hello!
>
> On Sat, Jul 11, 2009 at 09:28:01AM -0700, Michael McCallister wrote:
>   
> Yes.  Changes with 0.7.14:
>
> ...
>
>     *) Bugfix: if URI part captured by a "rewrite" directive was used as a 
>        query string, then the query string was not escaped.
>
> ...
>
> Note that 'highway+diesel+vehicles' is *unescaped* value ('+' 
> has no special meaning when used in path component), and it's 
> then escaped when used in query string to 'highway%2bdiesel%2bvehicles' 
> (since '+' reserved in query string).  In it's turn php unescapes 
> query string escaping and you see
>
> $_GET[q] = 'highway+diesel+vehicles'
>
> exactly as it was captured by your rewrite.
>
>   
>> 2) Is there a list of things to watch out for when changing from .6.x to  
>> .7.x?
>>     
>
> Changes are documented in CHANGES file in nginx sources
> (online version available at http://nginx.net/CHANGES).  It's not 
> exactly what you are asking about, but as far as I know it's all 
> we currently have (and it worth reading anyway).
>
> Maxim Dounin
Thanks






More information about the nginx mailing list