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

Thread is closed for posting
4 posts, 1 answers
  1. KSBA Techie
    KSBA Techie avatar
    27 posts
    Member since:
    Aug 2012

    Posted 13 Oct 2008 Link to this post

    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
  2. Answer
    Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 13 Oct 2008 Link to this post

    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.
  3. Chris Hart
    Chris Hart avatar
    1 posts
    Member since:
    Jun 2008

    Posted 09 Dec 2008 Link to this post

    Is the apostrophe in file name error fixed in the current release?


  4. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 10 Dec 2008 Link to this post

    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.
Back to Top