Opened 13 years ago

Closed 13 years ago

#6777 closed Bug (duplicate)

Image dialog: JavaScript error (invalid argument)

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:


It can be reproduced on the demo page. The problem is caused by the "%25" character in the file name.

Steps to reproduce

  • Open the Image dialog
  • Paste the following in the URL field: /images/Test%25Image.jpg
  • Click "Ok" to close the dialog
  • Result: an error occurs, the image is not inserted into the document.
Invalid argument.  _source/com/dom/element.js, line 987 character 5

var standard = function( name, value )
	this.$.setAttribute( name, value ); // <-- line 987
	return this;

Change History (2)

comment:1 Changed 13 years ago by Wiktor Walc

Status: newconfirmed

comment:2 Changed 13 years ago by Wiktor Walc

Resolution: duplicate
Status: confirmedclosed

Looks like a dup of #5256

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy