Fixed issue #8 (note tested yet!)

This commit is contained in:
Pascal Koenig
2011-08-29 09:47:06 +02:00
parent b8821b9208
commit 9f6bafc905
2 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ public abstract class Datasource {
int whereDot = files[i].getName().lastIndexOf('.');
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);
}

View File

@@ -119,11 +119,11 @@ public abstract class XmlWorker implements HttpHandler {
String value = null;
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){
value = URLDecoder.decode(param[1], System.getProperty("file.encoding"));
value = URLDecoder.decode(param[1].toLowerCase(), System.getProperty("file.encoding"));
}
if (result.containsKey(key)){