[TYPO3-core] RFC #9632: Bug: Multiple fileuploads into folders with special characters (umlauts) not possible

Marcus Krause marcus#exp2008 at t3sec.info
Thu Oct 30 10:50:39 CET 2008


Steffen Kamper schrieb:
> Hi Masi,
> 
> Martin Kutschker schrieb:
>>
>> I'm planning to turn t3lib_cs into a singleton, which it is *. It's
>> stateless and we currently have to do the tedious passing along you
>> suggested.
>>
>> So I think the patch can stay as it is.
>>
>> Masi
>>
>> * This will rid us of some peculiarities in t3lib_div which checks for
>> $LANG and other things of the BE and FE which it shouldn't do.
> 
> this won't be for 4.2, so i would use the existing object.
> Also when you convert it to singleton it makes sense for me that cs is
> part of LANG, which is available now always. So it makes also code more
> easy if using it.
> 
> 
> Beside that i was confused first about decodeURIComponent and encodeURI.
> Now Marcus use encodeURI which is the right one in this context, so +1
> for the patch by reading.

Are you sure? I'm now switching to encodeURIComponent.  ;-)
Only then both target and returnURL parameters are encoded the same way.
So v3 is on it's way.

Nethertheless I'm confused about the decoding. If I'm using
encodeURIComponent, both t3lib_div::_GP('target') and
t3lib_div::_GP('returnUrl') are returning proper decoded strings.

Marcus


More information about the TYPO3-team-core mailing list