summaryrefslogtreecommitdiff
path: root/lib/api/projects.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2016-01-05 13:32:25 +0000
committerDouwe Maan <douwe@gitlab.com>2016-01-05 13:32:25 +0000
commita7c424515c78ef98f86804d5257e7283531f53ee (patch)
tree5738619f61e6b22a7f88e77793cb47fe3cb5e091 /lib/api/projects.rb
parent2459d516337dbc37d9e653b4991e00cb9097aeb4 (diff)
parentd9d2e8a3e8de62beff685457e4e305f93122b206 (diff)
downloadgitlab-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/projects.rb')
0 files changed, 0 insertions, 0 deletions