-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Insiders regression: "(" and ")" in Uri's are not escaped (leading to extension failures) #83490
Comments
I would like to know more. What is your internal "URI from path" thing? Isn't that |
The "URI from path" code is written in C++ in our LSP process. We get the URI via LSP in many cases, so we can't call the same vscode.Uri.file APIs. We have some ideas on how we could fix the issue on our end, such as storing/comparing "paths" instead of URIs or dynamically doing different URI encoding based on what VS Code does. |
So, is that a custom implementation or a library implementation? I am asking because all those changes were made to align with library implementations and to be compatible with them - often we over encoded things that are decoded in other implementation and therefore are loosing data along the way |
/duplicate of #83610 |
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines. Happy Coding! |
closing this as dupe, we will revert our uri changes as extension programmed against our behaviour. |
fixed via 58479e8 |
Thanks. |
Steps to Reproduce:
Bug: The Uri our extension receives doesn't have the "(" and ")" escaped with the %hex encoding, which causes error squiggles in our extension to fail to appear (microsoft/vscode-cpptools#4505 ) because file comparisons fail because our internal "URI from path" code is encoding the "(" and ")". Let us know if we're expected to ship a fix to account for this change in Uri encoding.
Does this issue occur when all extensions are disabled?: Yes/No
The text was updated successfully, but these errors were encountered: