diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2015-04-02 12:50:12 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2015-04-02 12:50:12 +0200 |
commit | 0a8b89664afb694f7f844ed1af09caa1eda33542 (patch) | |
tree | c50b22eabe2cea198e65b72b7d2ba7e224790bbd | |
parent | 353ac285e63d618e480c2eff143ffa43216304b8 (diff) | |
download | pdf-as-4-0a8b89664afb694f7f844ed1af09caa1eda33542.tar.gz pdf-as-4-0a8b89664afb694f7f844ed1af09caa1eda33542.tar.bz2 pdf-as-4-0a8b89664afb694f7f844ed1af09caa1eda33542.zip |
Fixed external Overwrite whitelist bug
-rw-r--r-- | pdf-as-web/src/main/configuration/pdf-as-web.properties | 4 | ||||
-rw-r--r-- | pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pdf-as-web/src/main/configuration/pdf-as-web.properties b/pdf-as-web/src/main/configuration/pdf-as-web.properties index 71bcf386..b06fb152 100644 --- a/pdf-as-web/src/main/configuration/pdf-as-web.properties +++ b/pdf-as-web/src/main/configuration/pdf-as-web.properties @@ -9,11 +9,11 @@ bku.local.url=http://127.0.0.1:3495/http-security-layer-request bku.mobile.url=https://www.handy-signatur.at/mobile/https-security-layer-request/default.aspx -# Allow full configuration overwrite from external sources +# Allow configuration overwrite from external sources # use with care! allow.ext.overwrite=false -# White list entries for properties, that can be overwriten, +# White list entries for properties, that can be overwritten, # by external components ext.overwrite.wl.1=^$ diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java index ca4f2c50..2a4b2d39 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/config/WebConfiguration.java @@ -273,7 +273,7 @@ public class WebConfiguration implements IConfigurationConstants { public static synchronized boolean isOverwriteAllowed(String key) { if (isAllowExtOverwrite()) { - Iterator<String> patterns = whiteListregEx.iterator(); + Iterator<String> patterns = overwritewhiteListregEx.iterator(); while (patterns.hasNext()) { String pattern = patterns.next(); try { |