Skip to content

mention.allowed should handle @ #15975

@pelikhan

Description

@pelikhan

The bot-detection workflow had an incorrect format for the mentions.allowed configuration field. The field was configured with the @ prefix:

mentions:
allowed: ["@pelikhan"] # INCORRECT
According to the specification and test examples in actions/setup/js/sanitize_content.test.cjs, the allowed list should contain usernames without the @ prefix:

mentions:
allowed: ["pelikhan"] # CORRECT

FIX the mention.allowed feature to normalize the name and remove the '@' character at compile time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions