Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Cannot delete a folder when it has a name eqivelant to a path

Đang mở
#9,213 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
15/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
azure, electron
Lĩnh vực
cloud

Hướng nghiên cứu

The failing call is a PUT to the ADLS Gen2 endpoint with an x-ms-rename-source header that points at a path containing E%3A, so the delete seems to go through a rename, and the 403 comes back as AuthorizationPermissionMismatch. The payload names only the bundled adls2-extension dist/src/index.js and no reproduction steps, so first reproduce by creating a folder whose name looks like a path and deleting it, then trace the delete request in that extension. Done means the delete succeeds for such names or the permission error is explained with a fix.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Storage Explorer Version

1.46

Regression From

No response

Architecture

x64

Storage Explorer Build Number

No response

Platform

All

OS Version

No response

Bug Description
Image
Resource Types

No response

Authentication Method

None

Connection Type

None

Steps to Reproduce

This is stupid. Of course, you launch the storage explorer ... what do you think this blog is about.

CANNOT delete a folder when the folders name is a path

Actual Experience

FAILED

Expected Experience

No response

Additional Context

{
"name": "RestError",
"message": "This request is not authorized to perform this operation using this permission.\nRequestId:0284308f-f01f-006d-6fa5-5c567b000000\nTime:2026-10-15T13:06:12.2357070Z",
"stack": "RestError: This request is not authorized to perform this operation using this permission.\nRequestId:0284308f-f01f-006d-6fa5-5c567b000000\nTime:2026-10-15T13:06:12.2357070Z\n at handleErrorResponse (C:\Users\PaulBarnicoat\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\node_modules\@storage-explorer\adls2-extension\dist\src\index.js:81:35813)\n at deserializeResponseBody (C:\Users\PaulBarnicoat\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\node_modules\@storage-explorer\adls2-extension\dist\src\index.js:81:34635)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)",
"code": "AuthorizationPermissionMismatch",
"statusCode": 403,
"request": {
"url": "https://ctssftp.dfs.core.windows.net/ctsdistribution/1?mode=legacy",
"headers": {
"accept": "application/json",
"x-ms-version": "2025-07-05",
"x-ms-rename-source": "/ctsdistribution/E%3A/bbokings/queue/CTC",
"user-agent": "Microsoft Azure Storage Explorer/1.46.0 (win32) azsdk-js-azure-storage-blob/12.28.0 core-rest-pipeline/1.22.0 Node/24.18.1 OS/(x64-Windows_NT-10.0.26200)",
"x-ms-client-request-id": "2d48b118-e6a6-436f-875e-532a3c9137fc",
"authorization": "Bearer JSON Web Token Redacted"
},
"method": "PUT",
"timeout": 0,
"disableKeepAlive": false,
"streamResponseStatusCodes": {},
"withCredentials": false,
"requestId": "2d48b118-e6a6-436f-875e-532a3c9137fc",
"allowInsecureConnection": true,
"enableBrowserStreams": false,
"tracingOptions": {
"tracingContext": {
"_contextMap": {}
}
}
},
"response": {
"request": {
"url": "https://ctssftp.dfs.core.windows.net/ctsdistribution/1?mode=legacy",
"headers": {
"accept": "application/json",
"x-ms-version": "2025-07-05",
"x-ms-rename-source": "/ctsdistribution/E%3A/bbokings/queue/CTC",
"user-agent": "Microsoft Azure Storage Explorer/1.46.0 (win32) azsdk-js-azure-storage-blob/12.28.0 core-rest-pipeline/1.22.0 Node/24.18.1 OS/(x64-Windows_NT-10.0.26200)",
"x-ms-client-request-id": "2d48b118-e6a6-436f-875e-532a3c9137fc",
"authorization": "Bearer JSON Web Token Redacted"
},
"method": "PUT",
"timeout": 0,
"disableKeepAlive": false,
"streamResponseStatusCodes": {},
"withCredentials": false,
"requestId": "2d48b118-e6a6-436f-875e-532a3c9137fc",
"allowInsecureConnection": true,
"enableBrowserStreams": false,
"tracingOptions": {
"tracingContext": {
"_contextMap": {}
}
}
},
"status": 403,
"headers": {
"content-length": "227",
"content-type": "application/json;charset=utf-8",
"server": "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0",
"x-ms-error-code": "AuthorizationPermissionMismatch",
"x-ms-request-id": "0284308f-f01f-006d-6fa5-5c567b000000",
"x-ms-version": "2025-07-05",
"x-ms-client-request-id": "2d48b118-e6a6-436f-875e-532a3c9137fc",
"date": "Thu, 15 Oct 2026 13:06:11 GMT"
},
"bodyAsText": "{"error":{"code":"AuthorizationPermissionMismatch","message":"This request is not authorized to perform this operation using this permission.\nRequestId:0284308f-f01f-006d-6fa5-5c567b000000\nTime:2026-10-15T13:06:12.2357070Z"}}",
"parsedBody": {
"error": {
"code": "AuthorizationPermissionMismatch",
"message": "This request is not authorized to perform this operation using this permission.\nRequestId:0284308f-f01f-006d-6fa5-5c567b000000\nTime:2026-10-15T13:06:12.2357070Z"
}
},
"parsedHeaders": {
"errorCode": "AuthorizationPermissionMismatch",
"content-length": "227",
"content-type": "application/json;charset=utf-8",
"server": "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0",
"x-ms-request-id": "0284308f-f01f-006d-6fa5-5c567b000000",
"x-ms-version": "2025-07-05",
"x-ms-client-request-id": "2d48b118-e6a6-436f-875e-532a3c9137fc",
"date": "Thu, 15 Oct 2026 13:06:11 GMT"
}
},
"details": {
"errorCode": "AuthorizationPermissionMismatch",
"content-length": "227",
"content-type": "application/json;charset=utf-8",
"server": "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0",
"x-ms-request-id": "0284308f-f01f-006d-6fa5-5c567b000000",
"x-ms-version": "2025-07-05",
"x-ms-client-request-id": "2d48b118-e6a6-436f-875e-532a3c9137fc",
"date": "Thu, 15 Oct 2026 13:06:11 GMT",
"error": {
"code": "AuthorizationPermissionMismatch",
"message": "This request is not authorized to perform this operation using this permission.\nRequestId:0284308f-f01f-006d-6fa5-5c567b000000\nTime:2026-10-15T13:06:12.2357070Z"
}
}
}

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
456
Fork
92
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/AzureStorageExplorer

Tất cả issue của microsoft/AzureStorageExplorer

Issue tương tự

Thêm issue về Cloud

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.