[TYPO3-core] UTF-8 in file names

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Thu Nov 23 12:58:24 CET 2006


Karsten Dambekalns schrieb:
> Hi.
> 
> On 23.11.2006, at 11:16, Martin Kutschker wrote:
> 
>> But then again, I was afraid to start the discussion and hold up  the 
>> patch
>> because of it.
> 
> Well, we can put the patch in, and loosen the restrictions later on -  
> no problem, the other way round would be worse.

That's why my patch contained no change.

>> Spaces are not allowed in URLs, but file names will be used in URLs.
>> Dangerous characters:
>>
>> file system: * | \ / : < > ? " non-printables
>> URL: # % { } [ ] | \ ^ ~ ` space
>> HTML: & < > "
> 
> Well, all those can be escaped/encoded one way or the other, no?

It depends :-)

On a Unix shell you can escape everything (I think) but have you ever tried 
to change a file name on Windows that conatains forbiden characters?

So I wouldn't take too much chances a user might run into problems later on.

Masi



More information about the TYPO3-team-core mailing list