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

Peter Kühn peter.kuehn at wmdb.de
Sat Dec 29 13:24:22 CET 2007


hi georg,

your right - completed patch attached.

pls ack
pekue

georg kuehnberger schrieb:
> Peter, basically +1 (that is the patch works),
> however the mentioned changes have to be applied to:
> 
> dam/lib/class.tx_dam_listrecords.php
> line 535 onwards - as you mentioned,
> 
> AND also to:
> 
> dam/modfunc_list_thumbs/class.tx_dam_list_thumbs.php
> line 372 onwards
> 
> dam/lib/class.tx_dam_listfiles.php
> line 397 onwards
> 
> regards georg
> 
> 
> 
> Peter Kuehn [wmdb] wrote:
>> 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
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> TYPO3-team-dam mailing list
>> TYPO3-team-dam at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-dam

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 6697.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-dam/attachments/20071229/87a7f077/attachment.txt 


More information about the TYPO3-team-dam mailing list