[jbosstools-issues] [JBoss JIRA] (JBIDE-20296) Appending server URL add https:// prefix all the time

Fred Bricon (JIRA) issues at jboss.org
Fri Aug 21 16:01:27 EDT 2015


     [ https://issues.jboss.org/browse/JBIDE-20296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fred Bricon reassigned JBIDE-20296:
-----------------------------------

      Assignee: Alexey Kazakov
    Resolution: Done


The workflow has changed a bit. The prefix is added only after the server filed loses focus, if no http prefix or ':' is found in the url. It's not 100% perfect but close enough.

> Appending server URL add https:// prefix all the time
> -----------------------------------------------------
>
>                 Key: JBIDE-20296
>                 URL: https://issues.jboss.org/browse/JBIDE-20296
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.3.0.Beta2
>            Reporter: Marián Labuda
>            Assignee: Alexey Kazakov
>            Priority: Minor
>              Labels: help_wanted
>             Fix For: 4.3.0.CR1
>
>
> In New Connection dialog is validation on server text field (server URL). In case of invalid input, the "https://" prefix is added and then typed text is appended. This works in case if user clear text field and start type server without https:// prefix. But if user start type "http" and then add instead of "s" letter "a", this whole goes as appendix to suffix "https://". It results into string "https://httpa". 
> The real problem begin, once I have any valid URL, e.g. "https://locahost:8443" and I start typing somewhere into substring "https://". Let's say I type letter "x" to get "httpsx://localhost:8443". It results into new server URL "https://httpsx://localhost:8443". And this repeats again and again.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the jbosstools-issues mailing list