Changeset 9525


Ignore:
Timestamp:
2005-03-31T16:11:47+12:00 (19 years ago)
Author:
mdewsnip
Message:

Fixed a bug where you couldn't assign or remove metadata from files whose names contained '+' characters (this appears to be valid on Unix... not sure about Windows).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/metadata/MetadataXMLFile.java

    r9524 r9525  
    8282        file_path_regexp = file_path_regexp.replaceAll("\\{", "\\\\{");
    8383        file_path_regexp = file_path_regexp.replaceAll("\\}", "\\\\}");
     84        file_path_regexp = file_path_regexp.replaceAll("\\+", "\\\\+");
    8485    }
    8586
     
    325326        file_path_regexp = file_path_regexp.replaceAll("\\{", "\\\\{");
    326327        file_path_regexp = file_path_regexp.replaceAll("\\}", "\\\\}");
     328        file_path_regexp = file_path_regexp.replaceAll("\\+", "\\\\+");
    327329    }
    328330
Note: See TracChangeset for help on using the changeset viewer.