[TYPO3-core] RFC #13858: IS cannot not index files if absRefPrefix is set and indexExternalURLs is not

Christian Kuhn lolli at schwarzbu.ch
Sun Apr 18 00:14:46 CEST 2010


Hey again.

Christian Kuhn wrote:
> - createLocalPathUsingAbsRefPrefix() should check strlen($absRefPrefix) 
>  > 0, it detected something like href="/fileadmin/foo.txt", leading to a 
> double / when appending PATH_site and createLocalPathFromAbsoluteURL() 
> was never called

Still not perfect, now file-links without leading / are not detected 
anymore if absRefPrefix is not set.

BTW: If links contain '../', they won't survive the sanitizing later on 
in the code, so no way to index arbitrary files in the system ;)

Regards
Christian


More information about the TYPO3-team-core mailing list