Skip to content
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

Warn people to not use id containing '+' for AzExtTreeFileSystem items #1588

Merged

Conversation

JasonYeMSFT
Copy link
Contributor

@JasonYeMSFT JasonYeMSFT commented Sep 15, 2023

This PR had something to do with microsoft/vscode-cosmosdb#1732

The root cause of the problem is the plus sign '+'. Encoding and decoding the '+' will make it replaced by whitespace due to the query string standard. I added a comment in the interface to warn people to not use anything that may contain + sign in the id for File System items.

Related discussions:
https://stackoverflow.com/questions/1634271/url-encoding-the-space-character-or-20
https://www.w3.org/TR/html4/interact/forms.html#h-17.13.4.1

@JasonYeMSFT JasonYeMSFT force-pushed the dev/chuye/break-AzExtTreeFileSystem branch from f4a6cdf to d76cb45 Compare September 18, 2023 20:59
@JasonYeMSFT JasonYeMSFT changed the title Add two tests to break AzExtTreeFileSystem Warn people to not use id containing '+' for AzExtTreeFileSystem items Sep 18, 2023
@JasonYeMSFT JasonYeMSFT marked this pull request as ready for review September 18, 2023 21:16
@JasonYeMSFT JasonYeMSFT requested a review from a team as a code owner September 18, 2023 21:16
@JasonYeMSFT JasonYeMSFT merged commit 89cc483 into microsoft:main Sep 19, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants