[TYPO3-dam-devel] RFC: Bugfix: 6697: two minus signs in filename

Peter Kuehn [wmdb] peter.kuehn at wmdb.de
Tue Nov 13 13:49:09 CET 2007


This is a svn patch request.

Type: bugfix

Steps to reproduce:
- upload a file with two dashes like "my--file.ext"
- index
- view list in FF2

Expected behaviour:
iconbar should be displayed as usual

Observed behaviour:
missing edit icons

Reason:

class.tx_dam_listrecords.php line 537 renders a comment
<!-- CONTROL PANEL: filename.ext -->
at the begin of the iconbar. two dashes inside a comment are not 
standard compliant and lead to parse problems in some browsers (fx. FF2)

The fix:
id suggest to change the comment to
<!-- CONTROL PANEL: tx_dam:[recordid] -->
see patch att.

Branches:
Head

Bugtracker reference: http://bugs.typo3.org/view.php?id=6697
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 6697.fix.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-dam/attachments/20071113/672a381d/attachment.ksh 


More information about the TYPO3-team-dam mailing list