modrinth / labrinth

Our Rust-based backend utilizing the actix-web framework to serve Modrinth's API.

Home Page:https://modrinth.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project slug differs between search results and projects list for user

msfjarvis opened this issue · comments

Describe the bug

There seems to be some issue which can allow the project slug to differ for the same project, with the search results having a potentially stale value while the user's project list has the correct one.

Steps to reproduce

  1. Search for "Enhanced Style" resource pack
  2. Get a search result with this URL which 404s: https://modrinth.com/resourcepack/enhanced-style
  3. Go to DreamX's profile here: https://modrinth.com/user/DreamX
  4. Find the correct URL in their projects list: https://modrinth.com/resourcepack/enhancedstyle

Expected behavior

The URL for the resourcepack in the search results should match the one in the project list.

Additional context

No response

Modrinth search is cached, and thus changed are delayed by ~30 minutes

Got it, the cache seems to have rolled over now so I guess everything is working as intended and I just caught a weird timing. Thanks for the info!