[TYPO3-core] RFC #14342: t3lib_compressor also rewrites data URIs

JoH asenau info at cybercraft.de
Thu May 20 20:49:49 CEST 2010


>>> OK guys, you are right - so I will change this to a +1 if we can be
>>> sure that this kind of URL which can be used to get data from i.e.
>>> a htaccess protected page, will be treated correctly as well:
>>> data:1234 at whatever.domain.tld/some/path/to/my/file.jpg
>>>
>> good point - even if i think that noone will put passwords to css I
>> think it is allowed... Think Steffen kann recheck this after he
>> returned from sports.
>
> Isn't a ":" a good sign for a string being not a file name?

As you can see from my example there is a ":" in the URL pointing to a file
name.
Since this is the only case I can imagine it would be enough to check for
":" in absence of "@"

Cheers

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com




More information about the TYPO3-team-core mailing list