summaryrefslogtreecommitdiff
path: root/lib/api/project_hooks.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-12-29 21:58:16 -0500
committerRobert Speicher <rspeicher@gmail.com>2015-12-30 15:36:59 -0500
commitd9d2e8a3e8de62beff685457e4e305f93122b206 (patch)
tree932bf5d30f725365df1f00e02df5a25434485201 /lib/api/project_hooks.rb
parent4ed369558e5642ec69c160be5658bb3c6a495bbd (diff)
downloadgitlab-ce-d9d2e8a3e8de62beff685457e4e305f93122b206.tar.gz
Support a single directory traversal in RelativeLinkFilterrs-relative-links-to-root
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.
Diffstat (limited to 'lib/api/project_hooks.rb')
0 files changed, 0 insertions, 0 deletions