Skip to content

Handle underscores in user quick actions

What does this MR do and why?

Underscores may need to be escaped due to being embedded in markdown, so we need to treat /assign @user\_ as /assign @user.

How to set up and validate locally

  1. Create a user with an underscore in their username
  2. Use a quick action to assign them to a merge request or issue.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #357255 (closed)

Edited by Alex Kalderimis

Merge request reports

Loading