gerrit 3.13 canonicalWebUrl "Your" menu links

74 views
Skip to first unread message

Hochhaus, Andy

unread,
Nov 17, 2025, 4:14:07 PM (10 days ago) Nov 17
to Repo and Gerrit Discussion
Hi all,

We upgraded to gerrit 3.13.1 over the weekend and noticed that the links in the "Your" menu are now incorrect for our install.

We use a custom gerrit.canonicalWebUrl of https://<host>/gerrit/ as our instance is hosted behind a http reverse proxy. Unfortunately, starting in gerrit 3.13, the links under the "Your" menu are not built relative to our canonicalWebUrl.

For example, Your > Changes unexpected links to https://<host>/dashboard/self. While links in the other menus (eg: Changes, Documentation, Browse, etc) continue to be built as in gerrit 3.12-. For example, Changes > Open links to https://<host>/gerrit/q/status:open+-is:wip.

We can work around this updating the menu links under settings but it does not seem like this should be necessary. Can anyone clarify if this is expected behavior?

-Andy

Sven Selberg

unread,
Nov 18, 2025, 4:38:22 AM (10 days ago) Nov 18
to Repo and Gerrit Discussion
It sometimes happens that the context-path is forgotten or gets broken since it isn't that common to use one (due to legacy we have one that we haven't been able to get rid of yet at $DAY_JOB).
Could you open a bug ticket for this behavior:
https://issues.gerritcodereview.com/issues?q=is:open 
 

-Andy

Hochhaus, Andy

unread,
Nov 18, 2025, 9:14:46 AM (9 days ago) Nov 18
to Sven Selberg, Repo and Gerrit Discussion
Thanks for confirming this Sven.

> Could you open a bug ticket for this behavior

Paladox

unread,
Nov 18, 2025, 12:34:55 PM (9 days ago) Nov 18
to Repo and Gerrit Discussion
Hi, i don't see this issue at all. It links correctly. I use canonicalWebUrl locally.

Hochhaus, Andy

unread,
Nov 18, 2025, 1:23:09 PM (9 days ago) Nov 18
to Paladox, Repo and Gerrit Discussion
Thanks for looking Paladox.

Could you try setting the "New Tab" option on one of "Your" menu links? As I'm digging into this issue further it appears that the context-path is only omitted for this links.

(Somehow the upgrade from 3.12.3 -> 3.13.1 seems to have set the "New Tab" option for all of my links but that is a different issue.)

-Andy

Hochhaus, Andy

unread,
Nov 18, 2025, 2:32:35 PM (9 days ago) Nov 18
to Paladox, Repo and Gerrit Discussion
I performed a clean gerrit install to test and updated the steps to reproduce the context-path link issue.


-Andy

Paladox

unread,
Nov 18, 2025, 3:28:42 PM (9 days ago) Nov 18
to Repo and Gerrit Discussion

Paladox

unread,
Nov 18, 2025, 3:35:54 PM (9 days ago) Nov 18
to Repo and Gerrit Discussion

Hochhaus, Andy

unread,
Nov 18, 2025, 4:31:44 PM (9 days ago) Nov 18
to Paladox, Repo and Gerrit Discussion
Thanks Paladox.
Reply all
Reply to author
Forward
0 new messages