Discourse encodes characters of fragments in pasted URLs.
E.g.
https://gitpod.io/#https://github.com/eclipse-theia/theia
becomes
https://gitpod.io/#https%3A%2F%2Fgithub.com%2Feclipse-theia%2Ftheia
Discourse encodes characters of fragments in pasted URLs.
E.g.
https://gitpod.io/#https://github.com/eclipse-theia/theia
becomes
https://gitpod.io/#https%3A%2F%2Fgithub.com%2Feclipse-theia%2Ftheia
Let’s see
https://gitpod.io/#https://github.com/eclipse-theia/theia
So you are only referring to oneboxed urls?
Ah, there are two links. I didn’t noticed. So, yes, only the link in the box is broken.
This appears to be fixed in DEV: Replace custom uri_encode logic with Addressable by cvx · Pull Request #420 · discourse/onebox · GitHub
I’ve added the reported URL to #uri_encode specs.
Hinweis: Dies tritt auch in Discourse-Version 2.4.0.beta9 (c15d702ae6) noch auf:
In einer Privatnachricht werden URLs wie https://gitpod.io/#snapshot/abcd-1234 immer noch fälschlicherweise in https://gitpod.io/#snapshot%2Fabcd-1234 umgewandelt.
Ich habe bemerkt, dass Discourse 2.4.0.beta10 jetzt verfügbar ist – ich werde versuchen, ein Upgrade durchzuführen und zu prüfen, ob das hilft.
Ich habe es gerade in einer PN ausprobiert, und es hat funktioniert.
Dieses Thema wurde automatisch zwei Tage nach der letzten Antwort geschlossen. Neue Antworten sind nicht mehr erlaubt.