Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

fixed XSS problem in ConfigProperties

orbiter27ab0a5f892c
diff --git a/htroot/ConfigProperties_p.java b/htroot/ConfigProperties_p.java
index a6165baca..d0544169c 100644
--- a/htroot/ConfigProperties_p.java
+++ b/htroot/ConfigProperties_p.java
@@ -82,8 +82,8 @@ public class ConfigProperties_p {
keys = list.iterator();
while(keys.hasNext()){
key = (String) keys.next();
- prop.put("options_"+count+"_key", key);
- prop.put("options_"+count+"_value", env.getConfig(key, "ERROR"));
+ prop.putHTML("options_"+count+"_key", key);
+ prop.putHTML("options_"+count+"_value", env.getConfig(key, "ERROR"));
count++;
}