﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
163	Nginx cache and dotdot	Kevin Fernandez	somebody	"Hello,
It would be great to have a setting to forbid caching with ../ chars (and encoded ones).

If we cache ^/images/ requests, someone would assume only those requests to the images folder are cached and may forget to remove cookies in requests and set-cookie in replies.

Of course it's possible to block it by ourselves either on nginx by checking for those chars or by forbidding caching on everything less the /images folder on the backend..

Just thought i would suggest this because i find it dangerous..

(i have 0.7 but tested on 1.2 too)

Kevin"	enhancement	closed	minor		nginx-core	1.2.x	wontfix				"nginx version: nginx/0.7.67
TLS SNI support enabled
configure arguments: --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-log-path=/var/log/nginx/access.log --http-proxy-temp-path=/var/lib/nginx/proxy --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --with-debug --with-http_dav_module --with-http_flv_module --with-http_geoip_module --with-http_gzip_static_module --with-http_realip_module --with-http_stub_status_module --with-http_ssl_module --with-http_sub_module --with-ipv6 --with-mail --with-mail_ssl_module --add-module=/root/nginx-0.7.67/modules/nginx-upstream-fair"
