-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
unversioned
-
None
When authenticating during a review, the Gerrit server drops one of the two slashes required to view the unified diff.
Steps to reproduce:
- Log out of your Gerrit account
- Open one of the unified-diff review pages (for example, https://codereview.qt-project.org/#/c/186890/1//ALL)
- Double-click anywhere to start a line-by-line review; Gerrit redirects to accounts.qt.io
- Log in
Result: You're now at https://codereview.qt-project.org/#/c/186890/1/ALL instead of https://codereview.qt-project.org/#/c/186890/1//ALL. Note the lack of the second slash before "ALL".
Traffic inspection with the browser shows that the URL is not sent to account.qt.io, only an opaque state token. The redirection happens after GET on https://codereview.qt-project.org/login/oauth2callback: that page replies with HTTP 302 with Location: containing the wrong URL.
PS: There's no suitable component in this JIRA project.
- is replaced by
-
QTQAINFRA-882 diff-all url contains two adjacent slashes, gets mixed up by login
-
- Open
-