Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-11872

Trim leading spaces from schemeless external links

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None

      Issue originally reported by IvanDobsky on community forum.

      When pasting the schemeless link preceded with a leading space, an error is triggered as it isn’t a valid URL indeed. It would be nice to turn it into a valid HTTP link instead.

      Example:

       bryancorbett.co.uk
      ^ white space leading a schemeless link
      
      http://bryancorbette.co.uk
      ^ valid HTTP link
      

      This is already handled the same for schemeless link (without a leading space) and valid link preceded with leading space. Examples:

      bryancorbett.co.uk
      ^ schemeless link
      
       http://bryancorbette.co.uk
      ^ white space leading a valid HTTP link
      

            Unassigned Unassigned
            yvanzo yvanzo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package