Validator doesn't check model prefix for map submissions #352

Open
opened 2026-03-26 17:27:54 +00:00 by christmas · 1 comment

this map: https://maps.strafes.net/submissions/184 is a bhop map, with the prefix bhop_ on the model, but on the website is listed as a surf map, and was validated. The validator should also check what the map prefix is, or maybe when user is making the submission page, if the prefix and the selected game aren't the same it should return an error.

this map: https://maps.strafes.net/submissions/184 is a bhop map, with the prefix bhop_ on the model, but on the website is listed as a surf map, and was validated. The validator should also check what the map prefix is, or maybe when user is making the submission page, if the prefix and the selected game aren't the same it should return an error.
Owner

This pull request fixes this: #324 but I have to fix up the code before it can be merged. I've been putting this off because I hate what I wrote.

This pull request fixes this: #324 but I have to fix up the code before it can be merged. I've been putting this off because I hate what I wrote.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: StrafesNET/maps-service#352