README.md does not render, shows "Error loading viewer", with some links
Summary
When some relative links (starting with /..
are present in the README.md
file, it doesn't render on the web interface and "Error loading viewer" is shown at the top of the page.
Steps to reproduce
Add links like these to a working README.md
file:
Link to a [sibling project](/../../new_test).
Link to the [wiki home](/../wikis/home).
Example Project
https://gitlab.com/Jellby/test
Try selecting the branches readme
(doesn't work) and readme2
(works fine). The only difference is the above links in the README.md
file.
What is the current bug behavior?
README.md
is not rendered, "Error loading viewer" is shown in a box.
What is the expected correct behavior?
README.md
should be rendered. Even if the links are not valid (but they were until some weeks ago, as far as I remember), something should be rendered.
Output of checks
This bug happens on GitLab.com
Edited by Jellby