[TYPO3-core] RFC: #7910: creating a folder in filelist causes a PHP error

Steffen Kamper steffen at sk-typo3.de
Sun Mar 23 13:23:36 CET 2008


Hi

This is an SVN patch request.

Type: Bugfix

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

Branches: 4.2

On Windows following warning is given:
Warning: 
parse_url(/typo3/typo3/file_list.php?id=D:/htdocs/web1/html/typo3/fileadmin/user_upload/media/oeueae_________/Test/test) 
[function.parse-url]: Unable to parse URL in 
D:\htdocs\web1\html\typo3\typo3\template.php on line 439


Solution:
use urlencode

vg Steffen 


begin 666 7910_parse_url.diff
M26YD97 at Z('1Y<&\S+W1E;7!L871E+G!H< T*/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/0T*+2TM('1Y<&\S+W1E;7!L871E+G!H< DH<F5V:7-I;VX@,S0V."D-
M"BLK*R!T>7!O,R]T96UP;&%T92YP:' )*'=O<FMI;F<@8V]P>2D-"D! ("TT
M,S8L-R K-#,V+#<@0$ -"B )9G5N8W1I;VX@;6%K95-H;W)T8W5T26-O;B at D
M9W9,:7-T+"1S971,:7-T+"1M;V1.86UE+"1M;W1H97)-;V1.86UE/2(B*0E[
M"B )"21B86-K4&%T:#TD=&AI<RT^8F%C:U!A=&@["B )"21S=&]R955R;#TD
M=&AI<RT^;6%K95-H;W)T8W5T57)L*"1G=DQI<W0L)'-E=$QI<W0I.PHM"0DD
M<&%T:$EN9F\@/2!P87)S95]U<FPH=#-L:6)?9&EV.CIG971);F1P16YV*"=2
M15%515-47U5222<I*3L**PD))'!A=&A);F9O(#T@<&%R<V5?=7)L*'5R;&5N
M8V]D92AT,VQI8E]D:78Z.F=E=$EN9'!%;G8H)U)%455%4U1?55)))RDI*3L*
M( H@"0D)+R\@061D('1H92!M;V1U;&4@:61E;G1I9FEE<B!A=71O;6%T:6-A
M;&QY(&EF('1Y<&\S+VUO9"YP:' @:7,@=7-E9#H*( D):68@*&5R96<H)W1Y
M<&\S+VUO9%PN<&AP)"<L("1P871H26YF;ULG<&%T:"==*2 F)B!I<W-E="@D
M1TQ/0D%,4ULG5$)%7TU/1%5,15,G75LG7U!!5$A3)UU;)&UO9$YA;65=*2D@
">PH`
`
end



More information about the TYPO3-team-core mailing list