Pin history version that doesn't decode
Created by: felixfbecker
Fixes #4408
This is the only way I could find right now to make this work with react-router until https://github.com/ReactTraining/history/issues/505 is released.
Tested the sidebar, directory page and blob pages. Also tested that other encoded parameters (branch) still work.