Ignore:
Timestamp:
05/09/07 12:45:09 (12 years ago)
Author:
gogo
Message:

Missing encodeURIComponents
ticket:1022

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ImageManager/assets/images.js

    r677 r829  
    1717                // assume it has a trailing & 
    1818 
    19                 location.href = _backend_url + "__function=images&dir="+newDir; 
     19                location.href = _backend_url + "__function=images&dir="+encodeURIComponent(newDir); 
    2020        } 
    2121 
     
    2323        function newFolder(dir, newDir)  
    2424        { 
    25                 location.href = _backend_url + "__function=images&dir="+dir+"&newDir="+newDir; 
     25                location.href = _backend_url + "__function=images&dir="+encodeURIComponent(dir)+"&newDir="+encodeURIComponent(newDir); 
    2626        } 
    2727 
Note: See TracChangeset for help on using the changeset viewer.