Skip to content

Web app: fix paths with special characters

Administrator requested to merge fix-path-decode into master

Created by: chrismwendt

The webapp wasn't decoding the path from the URL fragment (the part after the #), resulting in errors in the references panel.

Fixes https://github.com/sourcegraph/sourcegraph/issues/6049

More context: https://sourcegraph.slack.com/archives/CHXHX7XAS/p1571178999056900?thread_ts=1571085736.041800&cid=CHXHX7XAS

This goes way back: https://github.com/sourcegraph/enterprise/commit/b1dab9d239fa3cc52f60daa55f438b100b470c9a#diff-aaf2fa7a0b42f7e114770b804b61e7faR57

Test plan: added a unit test

Merge request reports

Loading