diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-01-05 13:32:25 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2016-01-05 13:32:25 +0000 |
commit | a7c424515c78ef98f86804d5257e7283531f53ee (patch) | |
tree | 5738619f61e6b22a7f88e77793cb47fe3cb5e091 /lib/api | |
parent | 2459d516337dbc37d9e653b4991e00cb9097aeb4 (diff) | |
parent | d9d2e8a3e8de62beff685457e4e305f93122b206 (diff) | |
download | gitlab-ce-a7c424515c78ef98f86804d5257e7283531f53ee.tar.gz |
Merge branch 'rs-relative-links-to-root' into 'master'
Support a single directory traversal in RelativeLinkFilter
Prior, if we were viewing a blob at
`https://example.com/namespace/project/blob/master/doc/some-file.md` and
it contained a relative link such as `[README](../README.md)`, the
resulting link when viewing the blob would be:
`https://example.com/namespace/project/blob/README.md` which omits the
`master` ref, resulting in a 404.
Fixes https://gitlab.com/gitlab-org/release-tools/issues/3
See merge request !2247
Diffstat (limited to 'lib/api')
0 files changed, 0 insertions, 0 deletions