aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter
diff options
context:
space:
mode:
authornetconomy <netconomy@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-09-06 16:49:15 +0000
committernetconomy <netconomy@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-09-06 16:49:15 +0000
commite02e02f86e275544c5919e1c867d1843e06181cf (patch)
tree41996cf63b8003f12af130648a1f248fdadc647c /src/main/java/at/knowcenter
parent85e574618b04a34d5e41444d17ce7e6d5a93cc5b (diff)
downloadpdf-as-3-e02e02f86e275544c5919e1c867d1843e06181cf.tar.gz
pdf-as-3-e02e02f86e275544c5919e1c867d1843e06181cf.tar.bz2
pdf-as-3-e02e02f86e275544c5919e1c867d1843e06181cf.zip
Streaming Rückbau
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@211 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/knowcenter')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/web/servlets/VerifyServlet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/web/servlets/VerifyServlet.java b/src/main/java/at/knowcenter/wag/egov/egiz/web/servlets/VerifyServlet.java
index dc52187..8d9e293 100644
--- a/src/main/java/at/knowcenter/wag/egov/egiz/web/servlets/VerifyServlet.java
+++ b/src/main/java/at/knowcenter/wag/egov/egiz/web/servlets/VerifyServlet.java
@@ -286,7 +286,7 @@ public class VerifyServlet extends HttpServlet
throw new PDFDocumentException(250, "The document is empty."); //$NON-NLS-1$
}
- if (upload_fi.getContentType() != null && upload_fi.getContentType().equals("application/pdf"))
+ if (upload_fi.getContentType() != null && upload_fi.getContentType().startsWith("application/pdf"))
{
try
{