Javascript error for attachment with quote in name

Mark drecaise at gmail.com
Sat Aug 5 00:55:22 CEST 2006


Hi you all,

I was playing with revision 292 and I found this on firefox (1.5.0.4 linux):

javascript console:
----------------------------------------------------------------
Error: missing ) after argument list
Source File: 
http://www.katmoda.com/rc-test/trunk/roundcubemail/?_task=mail&_action=upload
Line: 22, Column: 60
Source Code:
parent.rcmail.add2attachment_list('02 3 Doors Down - When I'm Gone 
(Intro).mp3','<a href="#" 
onclick="rcmail.command(\'remove-attachment\',\'02 3 Doors Down - When 
I'm Gone (Intro).mp3\')" title="Verwijder"><img 
src="skins/default/images/icons/remove-atta
----------------------------------------------------------------

You can't see it in the above paste but the error is right after the 
quote in the filename.

Above happens when there  is  a quote in the filename of the attachment. 
Can you guys confirm this bug?


Mark




More information about the Dev mailing list