Changeset 619

Show
Ignore:
Timestamp:
2007-09-29 21:02:48 (1 year ago)
Author:
MaierMan
Message:

#372: nsIURIFixup breaks BatchGenerator?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/chrome/content/dta/addurl.js

    r594 r619  
    365365                                // throws if empty 
    366366                                let uri = fs.createFixupURI(url, 0); 
    367                                 url = uri.spec; 
     367                                try { 
     368                                        url = decodeURIComponent(uri.spec); 
     369                                } 
     370                                catch (ex) { 
     371                                        url = uri.spec; 
     372                                } 
    368373                        } 
    369374                        catch (ex) {