Bracket-enclosed URLs automatically append %5D when clicked

We’re using a self-hosted instance of GitLab Enterprise Edition [13.12.8-ee]

If a job outputs a URL enclosed in brackets, then the URL is automatically made clickable. However, the closing bracket is add to the link when it is clicked, so if I click on [] I’m taken to instead. You can see that the closing ] is underlined and clickable but the opening [ is not.

Not sure when this regressed but it wasn’t always the case.

This is a problem because we use Firebase Test Lab in our CI/CD pipeline, and it outputs text like

Test results will be streamed to [].