I think i found the place where the problem originates.
Creating the link in the text window always works fine.
I tried all kinds off copy-paste available on Linux / X-Windows
- X-Select + X-Paste (middle mouse button)
- Ctrl-c + Ctrl-v
- Firefox-Copy-Link + X-Paste
- Firefox-Copy-Link + Ctrl-v
But when I use the "Link (Ctrl-K) feature

it gets encoded the wrong way:

That’s where the mistake happens.
