Ok looked at it a little bit, I can say for sure it’s not related “Custom Header links” theme component.
You could for example reproduce multiple times when clicking on the assigned tag under a topic:
The issue is probably in Discourse itself, I feel like discourse-assign is generating the correct URL, will dig more later.
