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.
Nota: Questo problema si verifica ancora nella versione di Discourse 2.4.0.beta9 (c15d702ae6):
In un messaggio privato, URL come https://gitpod.io/#snapshot/abcd-1234 vengono ancora erroneamente convertiti in https://gitpod.io/#snapshot%2Fabcd-1234
Ho notato che è stata rilasciata la versione Discourse 2.4.0.beta10 – potrei provare a eseguire l’aggiornamento per vedere se risolve il problema.
L’ho appena provato in un messaggio privato e ha funzionato.
Questo argomento è stato automaticamente chiuso 2 giorni dopo l’ultima risposta. Non sono più consentite nuove risposte.