Gerrit and Cgit integration question

453 views
Skip to first unread message

Eugene Sajine

unread,
Oct 17, 2014, 2:55:03 PM10/17/14
to repo-d...@googlegroups.com
Hi,

I have set up the gerrit integration with CGIT and it is all working fine with one little exception:
our project names are having "/" as a separator because they are located in corresponding folder structure

when I move mouse over the cgit links it shows the full link properly, but when i actually click on it the resulting URL has the "/"  substitued by "%2F" and cgit fails to open the link.

this happens only with the project name - all other slashes are passed as is.

Is there any way to remedy this?

Thanks!

Jan Kundrát

unread,
Oct 17, 2014, 3:49:41 PM10/17/14
to repo-d...@googlegroups.com
On Friday, 17 October 2014 20:55:03 CEST, Eugene Sajine wrote:
> Is there any way to remedy this?

Seems that gitweb.urlEncode = false should do the trick -- see [1] for
details.

Cheers,
Jan

[1]
http://gerrit-review.googlesource.com/Documentation/config-gerrit.html#gitweb

--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/

Eugene Sajine

unread,
Oct 17, 2014, 4:50:24 PM10/17/14
to repo-d...@googlegroups.com
awesome, thank you so much - i missed this in the docs!
surprisingly enough the docs specificly mentions that cgit and git web might require slashes to be encoded, but it seems to be the other way around...

anyway, thanks for the help!
Reply all
Reply to author
Forward
0 new messages