This is a migrated thread and some comments may be shown as answers.

Apostrophe in file or folder name leads to error in Progress Handler

3 Answers 157 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
KSBA Techie
Top achievements
Rank 1
KSBA Techie asked on 13 Oct 2008, 12:42 PM
We are using the latest release (2008.2 1001) and have a very simple page where users can upload files along with a Progress Handler.  Whenever there is an apostrophe in the file name (or folder name for that matter) the Progress Handler throws a "RadUpload Ajax callback error".  Below is the text of the error...

RadUpload Ajax callback error. Source url returned invalid content:  
 
var rawProgressData = {InProgress:true,ProgressCounters:true,CurrentOperationText:'C:\\Board Agendas\\October\\Oct 08 Brd Mtg\\2007-\\'08 Audit Report.pdf',PrimaryTotal:'2.46MB',PrimaryValue:'128.00kB',PrimaryPercent:'5',SecondaryValue:'0',Speed:'273.44kB/s',TimeElapsed:'468',TimeEstimated:'8761',RadUpload:{RequestSize:2584036,Bytes:131072,FilesCount:0,CurrentFileName:'C:\\Board Agendas\\October\\Oct 08 Brd Mtg\\2007-\'08 Audit Report.pdf',RequestLength:2584036}}; 
 
Telerik.RadUploadProgressHandler.ashx?RadUrid=22544b36-97b8-4ef8-a762-380b91ad720d 
 
Did you register the RadUploadProgressHandler in web.config? 
 
Please, see the help for more details: RadUpload for ASP.NET Ajax - Configuration - RadUploadProgressHandler. 

Looking at this error, it seems that for the "CurrentFileName" the apostrophe is properly escaped; however, for the "CurrentOperationText" part there is an extra escape character.

Please fix this as soon as possible.  For now, we're instructing users (as they call in with this issue) to not use apostrophe's in file or folder names.

Thanks,

Steven

3 Answers, 1 is accepted

Sort by
0
Accepted
Veselin Vasilev
Telerik team
answered on 13 Oct 2008, 01:08 PM
Hello Steven Woods,

We have already fixed that problem. The fix will be included in the forthcoming Q3 Beta release scheduled for the end of the week.

Regards,
Veselin Vasilev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Chris Hart
Top achievements
Rank 1
answered on 10 Dec 2008, 03:44 AM
Is the apostrophe in file name error fixed in the current release?


0
Veselin Vasilev
Telerik team
answered on 10 Dec 2008, 08:40 AM
Hi Chris Hart,

Yes, it is fixed. Please download the latest build and try it.

Greetings,
Veselin Vasilev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Upload (Obsolete)
Asked by
KSBA Techie
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Chris Hart
Top achievements
Rank 1
Share this question
or