Changeset 686

Show
Ignore:
Timestamp:
03/15/08 12:55:09 (9 months ago)
Author:
aranti..@gmail.com
Message:

The "\S" group is too inclusive; limit again to _A-Z0-9

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/config-service/src/chrome/chromeFiles/content/config.js

    r685 r686  
    452452    } 
    453453 
    454     name = name.replace(/\s+/g, '_').replace(/[^-\S]+/g, '');  
    455     ext = ext.replace(/\s+/g, '_').replace(/[^-\S]+/g, '');  
     454    name = name.replace(/\s+/g, '_').replace(/[^-_A-Z0-9]+/gi, '');  
     455    ext = ext.replace(/\s+/g, '_').replace(/[^-_A-Z0-9]+/gi, '');  
    456456 
    457457    // If no Latin characters found - use default