Skip to content

Linking UTF-8 special characters on markup is broken

Summary

Creating a link on markup that contains UTF-8 characters lead to bad a 404 due to bad character encoding.

Steps to reproduce

Using markdown, create a link to a file that has special characters. For example, "nórmal". Screen_Shot_2016-11-29_at_9.43.58_AM

Expected behavior

If you click on a link it should send you to the correct url. gitlab.com//README/tree/master/n%C3%B3rmal

Screen_Shot_2016-11-29_at_9.44.13_AM

Actual behavior

It incorrectly encodes the link https://gitlab.com/talles/README/tree/master/not%2520n%25C3%25B3rmal Screen_Shot_2016-11-29_at_9.44.31_AM