From 78c7b6b82267b766b573046d722a55638749a6cd Mon Sep 17 00:00:00 2001 From: Christian Maierhofer Date: Tue, 25 Feb 2014 15:13:16 +0100 Subject: fixed wrong whitelist check --- .../src/main/java/at/gv/egiz/pdfas/web/servlets/ProvidePDFServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdf-as-web/src/main/java/at/gv/egiz/pdfas') 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"); -- cgit v1.2.3