fixed XSS problem in ConfigProperties

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4748 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 17 years ago
parent 32b5b057b9
commit 27ab0a5f89

@ -82,8 +82,8 @@ public class ConfigProperties_p {
keys = list.iterator(); keys = list.iterator();
while(keys.hasNext()){ while(keys.hasNext()){
key = (String) keys.next(); key = (String) keys.next();
prop.put("options_"+count+"_key", key); prop.putHTML("options_"+count+"_key", key);
prop.put("options_"+count+"_value", env.getConfig(key, "ERROR")); prop.putHTML("options_"+count+"_value", env.getConfig(key, "ERROR"));
count++; count++;
} }

Loading…
Cancel
Save