-
Notifications
You must be signed in to change notification settings - Fork 911
Rename Sorce Escaping #24288
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
base: main
Are you sure you want to change the base?
Rename Sorce Escaping #24288
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds preliminary logic to handle URL encoding for the destination path during file renaming and introduces a new test to validate the behavior when the destination string is unencoded.
- Added unescaping/escaping for the destination path in the Rename function.
- Introduced TestFileRenameWithoutEncoding in the test suite to validate rename behavior for unencoded destination paths.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
sdk/storage/azdatalake/file/client_test.go | New test added to verify file rename handling without prior encoding. |
sdk/storage/azdatalake/file/client.go | Updated Rename function to incorporate URL unescaping/escaping. |
API change check API changes are not detected in this pull request. |
/azp run go - azdatalake |
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
/azp run go - azdatalake |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run go - azdatalake |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run go - azdatalake |
Azure Pipelines successfully started running 1 pipeline(s). |
#23831