Setting 'url' => '/' in multilingual site breaks site-internal links

Don’t know, if this is a new (v5) issue or if I am just messed up, so I will ask here for following generations to find this. :sweat_smile:

I have set up a multilingual site (kirby-5.0.0-rc.1) and I need to set 'url' => '/' in the local dev config (details here: N2S: Why does my domain-specific Kirby config not kick in? · Nils Mielke, the Website — see update at the top).

Also not wanting URLs of the primary language using its language code, I have put the same setting in site/languages/en.php.

This leads to site-internal page URLs being prefixed with // (e.g. //photography/trees) which leads to the protocol (https:) being prepended by the browser, thus making them unusable.

Likely this is due to the above correlation of double 'url' => '/' settings, as removing either one solves the page URL issue, but introduces either the problem described in my blog post or needs all languages to use their respective language codes in URLs.

Is there any way to mitigate for this?
Or is this a new (unexpected?) issue in v5?

(I have replicated this very setup with a fresh v5 rc1 Starterkit with the same result.)

Okay, found out, setting the URL in the local dev config to the explicit local dev domain (rather than ‘/’), fixes the issue with my dev environment. Thusly, the problem described in my initial post is mitigated for.

Still would be interested to learn, if the prepended double-slash in such a setup is intended behaviour.