aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src
diff options
context:
space:
mode:
authorChristian Maierhofer <cmaierhofer@iaik.tugraz.at>2014-02-25 15:13:16 +0100
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-03-13 08:54:35 +0100
commit78c7b6b82267b766b573046d722a55638749a6cd (patch)
tree6264a8c1f1ba19e8132eeecc647529c28e0589c5 /pdf-as-web/src
parentcf5e83248daae37d221207196f8b6b9c5e4a0350 (diff)
downloadpdf-as-4-78c7b6b82267b766b573046d722a55638749a6cd.tar.gz
pdf-as-4-78c7b6b82267b766b573046d722a55638749a6cd.tar.bz2
pdf-as-4-78c7b6b82267b766b573046d722a55638749a6cd.zip
fixed wrong whitelist check
Diffstat (limited to 'pdf-as-web/src')
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ProvidePDFServlet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ProvidePDFServlet.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ProvidePDFServlet.java
index 71772efa..db27d0b3 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ProvidePDFServlet.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ProvidePDFServlet.java
@@ -81,7 +81,7 @@ public class ProvidePDFServlet extends HttpServlet {
try {
String invokeURL = PdfAsHelper.getInvokeURL(request, response);
- if (invokeURL == null || WebConfiguration.isProvidePdfURLinWhitelist(invokeURL)) {
+ if (invokeURL == null || !WebConfiguration.isProvidePdfURLinWhitelist(invokeURL)) {
if(invokeURL != null) {
logger.warn(invokeURL + " is not allowed by whitelist");