Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sanitize admin UI input for role bans #35422

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Killerqu00
Copy link
Contributor

About the PR

fixes #35266 (after the issue changes)

Why / Balance

Technical details

Media

image

Requirements

Breaking changes

Changelog

@github-actions github-actions bot added S: Needs Review Status: Requires additional reviews before being fully accepted S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. size/S Denotes a PR that changes 10-99 lines. labels Feb 23, 2025
@metalgearsloth
Copy link
Contributor

is the problem that the command autocompletes to other roles?

@Killerqu00
Copy link
Contributor Author

is the problem that the command autocompletes to other roles?

the problem is that roleban UI has antag roles, even though antag bans aren't a thing. this results in antag being passed to CreateRoleBan as a role, and then it just fails because it's not an actual job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: Needs Review Status: Requires additional reviews before being fully accepted S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. size/S Denotes a PR that changes 10-99 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Placing role bans should sanitize that jobs are valid
2 participants