]> git.kaiwu.me - nginx.git/commit
Win32: disallowed access to various non-canonical name variants.
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 5 Jun 2012 13:36:09 +0000 (13:36 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 5 Jun 2012 13:36:09 +0000 (13:36 +0000)
commitdb80a7adfc1636ef146006b652c1892d42847ccd
tree91b2e27391e502b24b7abbb8e073b0724c539366
parentac7f704931d8e12fc48106543b36ea2e01627e61
Win32: disallowed access to various non-canonical name variants.

This includes trailings dots and spaces, NTFS streams (and short names, as
previously checked).  The checks are now also done in ngx_file_info(), thus
allowing to use the "try_files" directive to protect external scripts.
src/os/win32/ngx_files.c