Welcome! Log In Create A New Profile

Advanced

Re: Patch for nginx handling of X-Accel-Redirect URLs

Anonymous User
February 01, 2012 05:36PM
> The ngx_http_parse_complex_uri() function is part of a request
> parsing code, optimized for the specific task of parsing URI of a
> request in case it's complex and can't be parsed by
> ngx_http_parse_request_line(). It's not a generic URI parsing
> function and never was intended to be.

So, do you mean that nginx is meant to not have such "generic URI
parsing function" at all?
Okay - do you think it's sufficient just to change
ngx_unescape_uri(&dst, &src, uri->len, 0);
to
ngx_unescape_uri(&dst, &src, uri->len, NGX_UNESCAPE_URI);
in the previous patch? (i.e. in
http://www.coderain.de/nginx/nginx-0.8.52-xred.patch)

P.S: what's NGX_UNESCAPE_REDIRECT?

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Patch for nginx handling of X-Accel-Redirect URLs

Anonymous User 2830 January 31, 2012 06:52PM

Re: Patch for nginx handling of X-Accel-Redirect URLs

Maxim Dounin 845 January 31, 2012 07:32PM

Re: Patch for nginx handling of X-Accel-Redirect URLs

Виталий Филиппов 878 February 01, 2012 06:04AM

Re: Patch for nginx handling of X-Accel-Redirect URLs

Maxim Dounin 962 February 01, 2012 09:40AM

Re: Patch for nginx handling of X-Accel-Redirect URLs

Anonymous User 805 February 01, 2012 05:36PM

Re: Patch for nginx handling of X-Accel-Redirect URLs

Maxim Dounin 862 February 02, 2012 06:36AM

Re: Patch for nginx handling of X-Accel-Redirect URLs

Anonymous User 777 February 02, 2012 07:00AM

Re: Patch for nginx handling of X-Accel-Redirect URLs

Maxim Dounin 980 February 02, 2012 11:44AM

Re: Patch for nginx handling of X-Accel-Redirect URLs

Anonymous User 834 February 01, 2012 06:28PM

Re: Patch for nginx handling of X-Accel-Redirect URLs

Maxim Dounin 1008 February 09, 2012 12:48PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 304
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready