aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-10-13 14:22:31 +0000
committerrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-10-13 14:22:31 +0000
commita0d022854a53cf7b615f2e1fbe6ae3f71b2fcb6d (patch)
treeb00b26fcd41877222405912a868f5eef12ad60e1
parent21dbd3ad3096c22c07b64ebc94ce521f1b18ad1d (diff)
downloadpdf-as-3-a0d022854a53cf7b615f2e1fbe6ae3f71b2fcb6d.tar.gz
pdf-as-3-a0d022854a53cf7b615f2e1fbe6ae3f71b2fcb6d.tar.bz2
pdf-as-3-a0d022854a53cf7b615f2e1fbe6ae3f71b2fcb6d.zip
Condition added for local deployment
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@860 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
-rw-r--r--pdf-as-web/src/main/webapp/jsp/signupload.jsp3
1 files changed, 1 insertions, 2 deletions
diff --git a/pdf-as-web/src/main/webapp/jsp/signupload.jsp b/pdf-as-web/src/main/webapp/jsp/signupload.jsp
index 1866c46..f4ea914 100644
--- a/pdf-as-web/src/main/webapp/jsp/signupload.jsp
+++ b/pdf-as-web/src/main/webapp/jsp/signupload.jsp
@@ -155,11 +155,10 @@
<link rel="stylesheet" type="text/css" href="<%=baseUrl%>/css/extern-styles.css" />
<% } %>
- <% if ((serverUrl.contains("http")) && (!serverUrl.contains("https"))) {
+ <% if ((serverUrl.contains("http")) && (!serverUrl.contains("https")) && (!serverUrl.contains("localhost"))) {
baseUrl = baseUrl.replace("http","https"); %>
<meta HTTP-EQUIV="REFRESH" content="0; url=<%=baseUrl %>/">
<% } %>
-
<meta http-equiv="pragma" content="no-cache,no-store,private,must-revalidate,max-stale=0,post-check=0,pre-check=0"/>
<meta http-equiv="cache-control" content="no-cache,no-store,must-revalidate,max-age=-1"/>