I have done a trial update to 2.15rc3 and have the following untouched gitweb config from earlier (2.13.9)
[gitweb]
cgi = /work/gerrit/common/gitweb/gitweb.sh
type = gitweb
Links all work fine from old (GWT) UI, but are all broken in the new UI. Polygerrit seems to be appending e.g.:
gitweb?p=test%2Fa-test.git;hb=refs%2Fchanges%2F02%2F54202%2F1;……
to the current URL rather than to the server base, so e.g. when clicking from a diff screen you get something like
<canonical-url>/c/<project>/+/<change>/<patchset>/<path>/gitweb?....
when what is wanted (and what GWT generates) is simply
<canonical-url>/gitweb?....
The same mistake happens from any other gitweb link anywhere else, e.g. the project browser area tries to do …/admin/gitweb?…, and the main change screen gitweb link is equally broken.
Is this a config error, or is anyone else seeing it? Or just a bug?
Gerrit is sitting behind an nginx reverse proxy, but I would have thought GWT would go wrong in that case as well if it were related.