News for hackers. Stuff that matters.
Re:Finding an arbitrary file upload vulnerability in a files... by jwilk on Sunday May 14, 2017 @07:19AM (#14335141)
Oh, and thanks to urllib.unquote, I can disguise slashes as "%2f", so the tightened regexp doesn't help.
Re:Finding an arbitrary file upload vulnerability in a files... by jwilk on Sunday May 14, 2017 @10:24AM (#14335751)
Never mind me, I misread how this function is used.

Apparently this code was copied from stdlib, including a different directory traversal bug on Windows:

https://bugs.python.org/issue26657