mirror of
https://github.com/apache/lucene.git
synced 2025-02-28 21:39:25 +00:00
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:
parent
4221983126
commit
9860cfab58
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user