Skip to content

Fix URL used for refreshing notes if relative_url is present

What does this MR do?

This MR fixes URLs used for refreshing notes - the relative_url prefix was appended twice

Are there points in the code the reviewer needs to double check?

No

Why was this MR needed?

In case of relative_url installation, opening a page which does refresh notes (i.e. merge request), the page generates lots of 404 errors in the browser console. It turns out that the relative_url is prepended to the link twice.

What are the relevant issue numbers / Feature requests?

I couldn't find any related issue

Merge request reports