Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-18935

Add input validation to wizard URL fields

    XMLWordPrintable

Details

    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            aha_1980 André Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes