Closed jwgmeligmeyling closed 8 years ago
@LiamClark any idea?
Bug replication method:
Log in and go to some branch Wait some time (login expires) Refresh the page and log in 404 I 'm not entirely sure, but I think the 404 only occurs when the url leads towards anything further than the /courses/ti1706/1516/groups/{groupnumber}/
The branch name may contain slashes and is therefore an encoded segment of the URL. When we redirect you to the login form, we store the requested URL as an encoded query parameter. The input for this encoding is decoded in stead of encoded, causing the branch name to be decoded in the final result as well, making it unresolvable for the request router.
Some users try to access the branch page with the unencoded url (
/branch/refs/heads/Part_0
). Probably, somewhere in Devhub, the url is still appearing unescaped, but where?