From db69912e5bdc9cbf56d66491fd92e83774bc4600 Mon Sep 17 00:00:00 2001 From: Francesco Mangiacrapa Date: Wed, 12 Jun 2019 13:03:08 +0000 Subject: [PATCH] removed the protocol form getGatewayHostname call git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@179796 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../ckandatapublisherwidget/server/utils/GenericUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/server/utils/GenericUtils.java b/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/server/utils/GenericUtils.java index 03573cd..b3346ca 100644 --- a/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/server/utils/GenericUtils.java +++ b/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/server/utils/GenericUtils.java @@ -142,8 +142,8 @@ public class GenericUtils { try { URL gURL = new URL(clientURL); StringBuilder theURL = new StringBuilder(); - theURL.append(gURL.getProtocol()); - theURL.append("://"); +// theURL.append(gURL.getProtocol()); +// theURL.append("://"); theURL.append(gURL.getHost()); return theURL.toString(); } catch (MalformedURLException e) {