SOLR-1234 handling '/' in handler names

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@788580 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Noble Paul 2009-06-26 05:20:23 +00:00
parent 4221983126
commit 9860cfab58

View File

@ -97,6 +97,8 @@ public class DataImportHandler extends RequestHandlerBase implements
if(name.startsWith("/")){
myName = name.substring(1);
}
// some users may have '/' in the handler name. replace with '_'
myName = myName.replaceAll("/","_") ;
}
}
String debug = (String) initArgs.get(ENABLE_DEBUG);