[TYPO3-core] RFC: Bug #11005: Browse Links Popup shows no files when all file types are allowed

Dmitry Dulepov dmitry.dulepov at gmail.com
Thu Apr 15 14:56:17 CEST 2010


Hi!

Jeff Segars wrote:
> Solution:
> Modify the browse links class to convert the wildcard parameter into an
> empty string which will show all files.

+1 by reading and testing. The patch is not made against the TYPO3 root, so
it has to be applied from inside the typo3/ directory.

> Additional Notes:
> #1 - I'm attaching a test extension that modifies the images field in
> tt_content to allow all file types.

For some reason it depends on 'tx' :)

> #2 - An alternative approach would be to patch
> t3lib_div::getFilesInDir() to accept a wildcard character or empty
> string. We could also patch the the code that creates the URL for the
> browse links popup, but I think both of these options are more invasive
> so I feel little safer with the current patch

I agree.

-- 
Dmitry Dulepov
TYPO3 expert / TYPO3 security team member
Read more @ http://dmitry-dulepov.com/


More information about the TYPO3-team-core mailing list