mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-26 21:15:21 +02:00
dd63f57344321a47eac235005ff9975aafa3051e
When magic_quotes_gpc is 'On' it also affects the $_FILES array and a filename like 'bantu"s testfile.txt' will be returned as 'bantu\"s testfile.txt'. Because utf8_basename() also strips off anything before the last backslash the filename was returned as '"s testfile.txt'. Calling stripslashes() before utf8_basename() solves the problem. PHPBB3-9615
Description
No description provided
Languages
PHP
88.1%
HTML
7.3%
JavaScript
2.7%
CSS
1.6%
Shell
0.2%