aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-11-01 14:09:15 +0000
committerIgor Sysoev <igor@sysoev.ru>2011-11-01 14:09:15 +0000
commit844ce56e348734b597ba9307dff2d5051a280b52 (patch)
treee4bff18600fcdee3b8c01a1a8529384a8ad55651 /src/http/ngx_http_request.c
parent5fdf27caec130f041771ee51daaf38e9574141d4 (diff)
downloadnginx-844ce56e348734b597ba9307dff2d5051a280b52.tar.gz
nginx-844ce56e348734b597ba9307dff2d5051a280b52.zip
Merging r4193, r4194:
Autoindex fixes: *) Autoindex: escape '?' in file names. For files with '?' in their names autoindex generated links with '?' not escaped. This resulted in effectively truncated links as '?' indicates query string start. This is an updated version of the patch originally posted at [1]. It introduces generic NGX_ESCAPE_URI_COMPONENT which escapes everything but unreserved characters as per RFC 3986. This approach also renders unneeded special colon processing (as colon is percent-encoded now), it's dropped accordingly. [1] http://nginx.org/pipermail/nginx-devel/2010-February/000112.html *) Autoindex: escape html in file names.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions