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

Add support for invalid char in file #24759

Merged
merged 2 commits into from
Feb 8, 2023

Conversation

EmmaZhu
Copy link
Member

@EmmaZhu EmmaZhu commented Feb 7, 2023

Add support for file invalid char

@ghost ghost added the Storage Storage Service (Queues, Blobs, Files) label Feb 7, 2023
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@jeremymeng
Copy link
Member

@EmmaZhu I'd thought that we fixed the issue in codegen and core to support xmlIsMsText: true so that the workaround of conversion in storage code is no longer needed. Somehow that fix doesn't work for you?

@EmmaZhu EmmaZhu force-pushed the storage/file_invalid_char branch 2 times, most recently from 118dc1d to 9aec67a Compare February 8, 2023 05:38
@EmmaZhu
Copy link
Member Author

EmmaZhu commented Feb 8, 2023

@jeremymeng , the content and attribute is passed from XML correctly. This PR is to decode the directory name or file name from the passed content. This way the input file name would be the same with the one gotten from listing.

@EmmaZhu EmmaZhu force-pushed the storage/file_invalid_char branch from 9aec67a to d030630 Compare February 8, 2023 06:04
@EmmaZhu EmmaZhu force-pushed the storage/file_invalid_char branch from d030630 to df4c1a8 Compare February 8, 2023 06:21
@EmmaZhu EmmaZhu merged commit 3741a51 into feature/storage/stable Feb 8, 2023
@EmmaZhu EmmaZhu deleted the storage/file_invalid_char branch February 8, 2023 07:25
@jeremymeng
Copy link
Member

@EmmaZhu got it. thanks for the explanation!

jeremymeng pushed a commit to jeremymeng/azure-sdk-for-js that referenced this pull request Feb 8, 2023
Add support for file invalid char
jeremymeng added a commit to jeremymeng/azure-sdk-for-js that referenced this pull request Jun 13, 2023
- port tests
- use isBrowser from core-util
jeremymeng added a commit that referenced this pull request Jun 19, 2023
- port tests
- use isBrowser from core-util
- port the source changes
- re-generate client
- update test resource names to use different variable names. New
recorder
unique names are slightly different from previous version and cause same
name to
  be retrieved for "dir" variable.
- add recordings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants