Skip to content

Rename Source Escaping #23831

@Bharat-Goyal

Description

@Bharat-Goyal

Bug Report

https://github.com/Azure/azure-sdk-for-go/blob/main/sdk/storage/azdatalake/file/client.go#L243
The renameSource header needs to be URL encoded otherwise there is a 400 error.
If the rename source is something along the lines of dir1/lör 006.jpg, the error code returned
is along the lines of

--------------------------------------------------------------------------------
{
  "error": {
    "code": "InvalidSourceUri",
    "message": "The source URI is invalid.\nRequestId:13eb4511-801f-0061-0dcf-46d26c000000\nTime:2024-12-05T04:40:15.1863240Z"
  }
}

Package /sdk/storage/azdatalake
SDK version master

Metadata

Metadata

Labels

ClientThis issue points to a problem in the data-plane of the library.Data LakeStorageStorage Service (Queues, Blobs, Files)customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK team

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions