[jbosstools-issues] [JBoss JIRA] (JBIDE-21995) Hostname is set to localhost when prompt for route is checked

Viacheslav Kabanovich (JIRA) issues at jboss.org
Tue Mar 29 19:31:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-21995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183583#comment-13183583 ] 

Viacheslav Kabanovich commented on JBIDE-21995:
-----------------------------------------------

Server.getHost() returns "localhost" when host is not set (or set to null). So, technically, to resolve this issue, we could set as host some arbitrary text or empty string by modifying UrlUtils.getHost(String). [~adietish], can it work?

> Hostname is set to localhost when prompt for route is checked
> -------------------------------------------------------------
>
>                 Key: JBIDE-21995
>                 URL: https://issues.jboss.org/browse/JBIDE-21995
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.3.1.CR1
>            Reporter: Marián Labuda
>              Labels: openshift_v3, server_adapter
>
> Hostname in Server Editor for an OpenShift 3 application is set to localhost if checkbox "Prompt for route when multiple routes available to show in browser" is checked. 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jbosstools-issues mailing list