Skip to content

URL-Encoding for exclamation marks not working for merge request templates

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

The url encoding for exclamation marks for merge request templates is not working. I'm not sure if this affects any other characters

Steps to reproduce

  1. attempt to add a description template that has an exclamation mark in the title to a merge request
  2. it fails to be added to the description
  3. the web console reports a http error 404
  4. when opening the url in the error and changing the exclamation mark to '%\21' (without the backslash) the request resolves correctly

Example Project

https://gitlab.com/i-just-want-to-report-a-bug-dont-make-me-create-a-repo-for-that/please

What is the current bug behavior?

bug occurs

What is the expected correct behavior?

template url gets resolved correctly

Edited by 🤖 GitLab Bot 🤖