]> granicus.if.org Git - curl/commit
AddFormData: prevent only directories from being posted
authorDaniel Stenberg <daniel@haxx.se>
Mon, 4 Mar 2013 14:20:22 +0000 (15:20 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 4 Mar 2013 14:52:10 +0000 (15:52 +0100)
commit26eaa8383001219e7cd14a153dff95ea9274be6e
tree7daa0f875dfbe39ea91214775cd56eeef4ebb87f
parentfadf33c78ac7bdfc6790350de9a0dfc8bcdb030b
AddFormData: prevent only directories from being posted

Commit f4cc54cb4746ae5a6d (shipped as part of the 7.29.0 release) was a
bug fix that introduced a regression in that while trying to avoid
allowing directory names, it also forbade "special" files like character
devices and more. like "/dev/null" as was used by Oliver who reported
this regression.

Reported by: Oliver Gondža
Bug: http://curl.haxx.se/mail/archive-2013-02/0040.html
lib/formdata.c