Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道我在哪里可以找到 PHP 用来将发布数据解析为$_POSTand的代码$_FILES?我试图弄清楚它如何处理未转义的文件名,但我似乎找不到它。这是一个巨大的项目,我什至不知道在哪里看,搜索也无济于事。
$_POST
$_FILES
它在main/rfc1867.c。查看 inside rfc1867_post_handler,它解析 Content-Disposition 标头的位置。该函数用于php_ap_getword_conf解析文件名值。
main/rfc1867.c
rfc1867_post_handler
php_ap_getword_conf