phpBB Development: phpBB is a popular open-source bulletin board written in PHP. This repository also contains the history of version 2.
Find a file
Andreas Fischer dd63f57344 [ticket/9615] magic_quotes_gpc: call stripslashes() before utf8_basename()
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
2010-08-04 12:35:19 +02:00
build [feature/webpi] Validate inline with MSSQL password policy. 2010-04-15 23:00:27 +01:00
git-tools/hooks [git-tools] Use @ instead of : in sed command in pre-commit hook for wider compatibility. 2010-04-13 21:44:18 +01:00
phpBB [ticket/9615] magic_quotes_gpc: call stripslashes() before utf8_basename() 2010-08-04 12:35:19 +02:00
tests Merge branch 'ticket/ckwalsh/9715' into develop-olympus 2010-07-12 01:56:00 +02:00
.gitignore [develop-olympus] Basic gitignore file for cache files and backups. 2010-05-02 23:44:42 +02:00