diff options
author | Stan Hu <stanhu@gmail.com> | 2018-11-26 14:07:55 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-11-26 14:14:48 -0800 |
commit | e8da70e66ca15e91ba9a1ffd553f7657eb2e90ff (patch) | |
tree | 2a973ea20861ea3a48c914a1647feb334bbadbd2 /changelogs | |
parent | deaf3af7e5f357f3e8d91f7f2d49ad3ce001ba68 (diff) | |
download | gitlab-ce-e8da70e66ca15e91ba9a1ffd553f7657eb2e90ff.tar.gz |
Fix handling of filenames with hash characters in tree view
Addressable::URI interprets the `#` in a URI as a URI fragment
and does not escape it, but Rails has special helpers that treats
these as bona-fide characters that need to be escaped.
Closes https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23368
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/sh-fix-hash-filename-handling.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/sh-fix-hash-filename-handling.yml b/changelogs/unreleased/sh-fix-hash-filename-handling.yml new file mode 100644 index 00000000000..cb32051a4ab --- /dev/null +++ b/changelogs/unreleased/sh-fix-hash-filename-handling.yml @@ -0,0 +1,5 @@ +--- +title: Fix handling of filenames with hash characters in tree view +merge_request: 23368 +author: +type: fixed |