You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nobody can say that I haven't tried... In fact, I have tried twice but "fixing" our uri implementation isn't possible anymore.
Basically there are two camps - camp A correctly says that our URI has encoding/decoding issues and looses data. After fixing said issues, camp B correctly says that the URI behaviour has changed and breaks their extensions/persisted data. We are dead in the water as it seems and we need to find a way forward.
Generally, the URI doesn't cause trouble when its used "internally", e.g. renderer talking to extension host or other pieces, but its decode/encode problems show when interacting with a 3rd player, usually a browser when clicking a link or when calling vscode.env.openExternal. Instead of changing the whole of our uri we should look at those problems specifically and I believe the way out is the use of the standard URL-object, e.g places that feed urls into the system, namely link detection and openExternal, should accept an URL-object in addition to our URI object. While adding overload/confusion it provides a clear separation and ends our catchup game.
Activity
jrieken commentedon Oct 30, 2019
Work packages
URLstring for our internal link detection. This will help with the majority of cases, like this Uri#parse can break path-component #45515Tyriar commentedon Oct 30, 2019
🎉 assigned #74604 to Nov to remind me to fix in terminal
DanTup commentedon Nov 8, 2019
keep links from web view untouch for as long as possible, #83645
jrieken commentedon Nov 29, 2019
Matt Bierner (@mjbvz) fyi - I have pushed a716943 which helps with links that are rendered in Webviews.
jrieken commentedon Dec 2, 2019
To verify