mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-30 22:38:07 +00:00
On Windows a ':' ends a drive prefix or starts an NTFS stream name, so a filename such as "C:.." or "a.txt:stream" survived sanitize_filename and could replace the upload directory or write to an alternate data stream. Cut at ':' on Windows as well.
1.0 MiB
1.0 MiB