-
- Downloads
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
Showing
- app/helpers/tree_helper.rb 2 additions, 2 deletionsapp/helpers/tree_helper.rb
- changelogs/unreleased/sh-fix-hash-filename-handling.yml 5 additions, 0 deletionschangelogs/unreleased/sh-fix-hash-filename-handling.yml
- spec/helpers/tree_helper_spec.rb 28 additions, 0 deletionsspec/helpers/tree_helper_spec.rb
Please register or sign in to comment