Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#13309 closed defect (fixed)

dojox.form.Uploader in Firefox with uploadOnSelect fails to upload file with special characters

Reported by: Maastermedia Owned by: Mike Wilcox
Priority: high Milestone: 1.7
Component: DojoX Uploader Version: 1.7.0b1
Keywords: dojox.form.Uploader Cc:
Blocked By: Blocking:

Description

  • browser: Firefox
  • uploadOnSelect: true
  • filename to upload: čakra.jpg (this name contains some special character)

When uploading a file with some special characters in filename with option uploadOnSelect in Firefox there appears error:

Error: uncaught exception: [Exception... "String contains an invalid character" code: "5" nsresult: "0x80530005 (NS_ERROR_DOM_INVALID_CHARACTER_ERR)" location: "http://localhost/dojo/1.7/dojo/dojo.js Line: 361"]

In IE it works fine.

Currently I'm using following workaround:

onChange: function() {

this.upload();

}

Change History (5)

comment:1 Changed 8 years ago by Adam Peller

Component: GeneralDojoX Form
Owner: set to Mike Wilcox

comment:2 Changed 8 years ago by Mike Wilcox

This is related to ticket #12674 which I'm afraid I fixed with a workaround. If I get to the real problem of that ticket it will resolve this one. I'll need some time to get to it though.

comment:3 Changed 8 years ago by Mike Wilcox

Component: DojoX FormDojoX Uploader
Milestone: tbd1.8

comment:4 Changed 8 years ago by Mike Wilcox

Resolution: fixed
Status: newclosed

(In [25634]) Fixes #13309, #12674 fixed select-on-upload problems.

comment:5 Changed 8 years ago by Adam Peller

Milestone: 1.81.7
Note: See TracTickets for help on using tickets.