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

Create a report of clean-up-able and invalid URLs

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Reports
    • None

      The URL cleanup code contains a lot of knowledge about what are or are not valid URLs, but it is only used client-side when adding URLs. Invalid URLs can still be added, or URLs that were considered valid at the time they were added can later be judged invalid (e.g. due to improvements to the validation code). Likewise, URLs can have an outdated format that the cleanup code has learned to correct in the meantime.

      We should use the existing code to create a report on the server that, for all existing URLs, checks whether

      • the cleanup code would (now) change the URL into something else,
      • the validation code would (now) reject the URL (for the entity and relationships types it is used in).

      This should not be too difficult as Postgres supports PL/V8, i.e. we can run the Javascript mostly as-is inside the database.

            Unassigned Unassigned
            chirlu Ulrich Klauer
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Version Package