Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-13326

Leading and trailing spaces should be stripped from the repository importer's URL field

    XMLWordPrintable

    Details

      Description

      Problem

      When using the repository importer, if a URL contains a leading or trailing whitespace, the validation for the field fails with an unexpected error.

      Expected Result

      A git URL with leading or trailing spaces causes no validation errors.

      Suggested Fix

      One of:

      • Leading and trailing spaces are stripped from the git URL; or
      • Provide a better validation message suggesting the URL is invalid (if a trailing whitespace is required it should probably be percent-encoded).

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jvanderloo@atlassian.com John Van Der Loo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: