Skip to content

Using anything other than released file name with classifiers in Maven backend gives HTTP 404 error #2663

@forkiesassds

Description

@forkiesassds

Describe the bug

When trying to get a mod using Maven with a classifier using a name other than the released file name gives a HTTP 404 error.

Steps to reproduce

  1. Go to api.modrinth.com/maven/maven/modrinth/[modname/modid]/[version/versionid]/[modname/modid]-[version/versionid]-[classifier].jar
  2. Get HTTP 404

Expected behavior

It shouldn't return HTTP 404 and instead should link to the file requested

Additional context

This doesn't happen if using api.modrinth.com/maven/maven/modrinth/[modname]/[version]/[released mod file name]-[version]-[classifier].jar or when not using classifiers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendInvolves work from the backend team

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions