[TYPO3-core] RFC #11853: PHP warning in file module when uploading files with the flashuploader

Rupert Germann rupi at gmx.li
Fri Oct 16 17:18:25 CEST 2009


Hi,

this is a SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=11853

Branches: Trunk

Problem:
After uploading files with the mass uploader the following warning shows 
up above the filelist.

PHP Warning: 
parse_url(/currenttrunk/typo3/file_list.php?id=C:/xampp/htdocs/currenttrunk/fileadmin/user_upload/) 
[function.parse-url]: Unable to parse URL in 
C:\xampp\htdocs\currenttrunk\typo3\template.php on line 449

steps to reproduce:
1.) Localhost on windows in a subdirectory (currenttrunk) with PHP 
Version 5.2.3
2.) upload into the folder user_upload with the contemenu link in filetree
3.) error

the error doesn't appear on linux.

Solution:
urlencode to the path in js before traversing it to function jumpTo()


greets
rupert


More information about the TYPO3-team-core mailing list