Fixed issue #8 (note tested yet!)
This commit is contained in:
@@ -36,7 +36,7 @@ public abstract class Datasource {
|
|||||||
int whereDot = files[i].getName().lastIndexOf('.');
|
int whereDot = files[i].getName().lastIndexOf('.');
|
||||||
|
|
||||||
if (0 < whereDot && whereDot <= files[i].getName().length() - 2){
|
if (0 < whereDot && whereDot <= files[i].getName().length() - 2){
|
||||||
String playerName = files[i].getName().substring(0, whereDot);
|
String playerName = files[i].getName().substring(0, whereDot).toLowerCase();
|
||||||
|
|
||||||
result.add(playerName);
|
result.add(playerName);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -119,11 +119,11 @@ public abstract class XmlWorker implements HttpHandler {
|
|||||||
String value = null;
|
String value = null;
|
||||||
|
|
||||||
if(param.length > 0){
|
if(param.length > 0){
|
||||||
key = URLDecoder.decode(param[0], System.getProperty("file.encoding"));
|
key = URLDecoder.decode(param[0].toLowerCase(), System.getProperty("file.encoding"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if(param.length > 1){
|
if(param.length > 1){
|
||||||
value = URLDecoder.decode(param[1], System.getProperty("file.encoding"));
|
value = URLDecoder.decode(param[1].toLowerCase(), System.getProperty("file.encoding"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result.containsKey(key)){
|
if (result.containsKey(key)){
|
||||||
|
|||||||
Reference in New Issue
Block a user