Re: gerrit-2.14 + gitiles-548e893(stable-2.14) produces wrong link in new ui

瀏覽次數:24 次
跳到第一則未讀訊息

Alon Bar-Lev

未讀,
2017年4月27日 凌晨2:48:512017/4/27
收件者:repo-d...@googlegroups.com
On 27 April 2017 at 00:22, Alon Bar-Lev <alon....@gmail.com> wrote:
>
> Hi,
>
> When trying to view a link in a merged change the following URL is produced:
>
> http://ilvpbg1252.corp.amdocs.com:8080/c/209/plugins/gitiles/xxx/+/51f6502a034b336a42aa33b31ad514a6543abba7
>
> Notice the /c/209 prefix which should be removed, I guess this link should be absolute and not relative.
>
> <a class="webLink style-scope gr-change-metadata" rel="noopener" target="_blank" href="plugins/gitiles/xxx/+/51f6502a034b336a42aa33b31ad514a6543abba7">
> browse
> </a>
>
> Regards,
> Alon

Here is the fix[1], although it is trivial, I am unsure if it is correct.

[1] https://gerrit-review.googlesource.com/c/104783/
回覆所有人
回覆作者
轉寄
0 則新訊息