From a0d022854a53cf7b615f2e1fbe6ae3f71b2fcb6d Mon Sep 17 00:00:00 2001 From: rpiazzi Date: Thu, 13 Oct 2011 14:22:31 +0000 Subject: Condition added for local deployment git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@860 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- pdf-as-web/src/main/webapp/jsp/signupload.jsp | 3 +-- 1 file changed, 1 insertion(+), 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 @@ <% } %> - <% if ((serverUrl.contains("http")) && (!serverUrl.contains("https"))) { + <% if ((serverUrl.contains("http")) && (!serverUrl.contains("https")) && (!serverUrl.contains("localhost"))) { baseUrl = baseUrl.replace("http","https"); %> <% } %> - -- cgit v1.2.3