Skip to content

GitLab-based links are not accepted when they should be #7707

Description

@ASTRELION

Please confirm the following.

What browsers are you seeing the problem on?

Firefox

Describe the bug

For project links, the License link specifically, GitHub-based URLs are accepted but not GitLab-based ones. A URL like https://gitlab.com/myuser/myproject/-/blob/main/LICENSE should count as a valid license link. Additionally, Codeberg-based links could also be added as supported here, since I believe they also would not work.

For the Issues link, GitLab links are not accepted because they use the term work_items now instead of issues. A URL like https://gitlab.com/myuser/myproject/-/work_items should count as a valid issues link.

Steps to reproduce

  1. Edit or create a Modrinth project
  2. Add a GitLab-based LICENSE link to the license link field and observe the error
  3. Or, add a GitLab-based work_items link to the issues link field and observe the error

Expected behavior

GitLab (and Codeberg, and any other major git platform) should be acceptable places to link to for licenses and issue trackers.

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    websiteRelates to Modrinth.com web frontend

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions