]
Alexey Kazakov commented on JBIDE-20296:
----------------------------------------
[~adietish], [~fbricon], please review the PR.
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
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.