Skip to content

Cannot hide whitespace changes when an anchor link is present in the URL

  1. Load a merge request with an anchor link to a discussion, such as from an email notification.
    • We'll use https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22050/diffs#note_106554124? as an example
  2. Click Hide whitespace changes
    • Note the URL is now https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22050/diffs#note_106554124?w=1, which is invalid. The query string needs to come before the anchor.
Edited by Robert Speicher