Skip to content
Snippets Groups Projects

Support a single directory traversal in RelativeLinkFilter

Merged Robert Speicher requested to merge rs-relative-links-to-root into master

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

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading