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
This commit is contained in:
parent
4f85011097
commit
db69912e5b
|
@ -142,8 +142,8 @@ public class GenericUtils {
|
||||||
try {
|
try {
|
||||||
URL gURL = new URL(clientURL);
|
URL gURL = new URL(clientURL);
|
||||||
StringBuilder theURL = new StringBuilder();
|
StringBuilder theURL = new StringBuilder();
|
||||||
theURL.append(gURL.getProtocol());
|
// theURL.append(gURL.getProtocol());
|
||||||
theURL.append("://");
|
// theURL.append("://");
|
||||||
theURL.append(gURL.getHost());
|
theURL.append(gURL.getHost());
|
||||||
return theURL.toString();
|
return theURL.toString();
|
||||||
} catch (MalformedURLException e) {
|
} catch (MalformedURLException e) {
|
||||||
|
|
Loading…
Reference in New Issue