[TYPO3-core] JumpUrl restructuring

Alexander Stehlik alexander.stehlik at gmail.com
Wed Oct 9 10:50:15 CEST 2013


Any opinions on this topic?

> Hallo again,
>
> while thinking about this a bit more another question came to my mind
> concerning the getPublicUrl() method of a FAL file / directory.
>
> Should this method not URL encode special characters in the file path
> and filename? As far as I can see this should be done in the LocalDriver
> class. I mean, this method is supposed to return a valid URL, right?
>
> Maybe the snippet from the jump URL links can be reused to do that since
> it seems to work quite good:
>
> str_replace('%2F', '/', rawurlencode($fileUrl));
>
> If you think this makes sense I'll open a new issue for that in forge.
>
> Kind regards,
> Alex


More information about the TYPO3-team-core mailing list