Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 4.4.0
-
df8ef72aec830d253beef32ee4d9b962afc3346e (qt-creator/qt-creator/master)
Description
If you paste an URL to the Git clone wizard, and the URL contains a leading or trailing whitespace, you get an error message like [1] after pressing Next.
It would be better to validate the URL before (like already done for the Path) and give a warning if it contains potentially invalid chars. A check for this is already implemented for Git RemoteAdditionDialog and would be nice to be used in the wizards also.
[1]
Klone nach 'qtserialport ' ...
fatal: Project not found: qt/qtserialport+
fatal: Could not read from remote repository.Please make sure you have the correct access rights
and the repository exists.
Attachments
For Gerrit Dashboard: QTCREATORBUG-18935 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
268483,4 | Wizards: Do some input validation on repository URLs | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |