Skip to content

Fix test that check mentions for XSS

What does this MR do?

By simply tagging @eve the comment does not turn into a link, while by tagging @#{user.username} it turns into a link that when clicked could lead to an XSS attack, and this is what made me change the test.

Screenshots

Before

Before

After

After

Does this MR meet the acceptance criteria?

Conformity

Edited by Walmyr Lima e Silva Filho

Merge request reports