diff options
author | Valentin Bartenev <vbart@nginx.com> | 2019-09-30 19:11:17 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2019-09-30 19:11:17 +0300 |
commit | 2dbda125db743f71d4dd104b29fa58620eb49de2 (patch) | |
tree | 751939d39c22fa5e801993e9ca820a3cde5ed7a5 /src/nxt_sockaddr.c | |
parent | 2791c00cf2df1b4c86179756f7c56064219f482f (diff) | |
download | unit-2dbda125db743f71d4dd104b29fa58620eb49de2.tar.gz unit-2dbda125db743f71d4dd104b29fa58620eb49de2.tar.bz2 |
HTTP parser: normalization of paths ending with "." or "..".
Earlier, the paths were normalized only if there was a "/" at the end, which
is wrong according to section 5.2.4 of RFC 3986 and hypothetically may allow
to the directory above the document root.
Diffstat (limited to 'src/nxt_sockaddr.c')
0 files changed, 0 insertions, 0 deletions