Broken links for graphs in UI

At some point over the last few days something seems to have broken the generation of these links:

image

They should look like this:

https://example.com:9005/device/device=2/tab=graphs/group=system/

But they actually look like this:

https://example.com:9005/https://example.com:9005/device/device=2/tab=graphs/group=system/

As you can see, the protocol/host/port section of the URL is being added twice.

I think this commit is the problem:

And I think it’s fixed with this commit, although I haven’t tried it yet:

Edit: I just made this change manually and the problem is resolved.