Connection strings containing special URL encoding characters are mangled
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start by reading the StorageConnectionString parsing code mentioned in the issue and trace how it URL-decodes each connection string value. Check the related tests, if present, for keys containing +. Done when the intended handling of encoded secrets is clear and the reported key no longer fails with a base64 error; the issue does not identify specific files or tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When trying to create an azure blob storage instance from a connection string, if the key contains a '+' this fails with the cryptic "not a valid base64 value".
After digging around and creating an instance of StorageConnectionString myself and looking at the code, I can see the value of each part gets url decoded.
The documentation does not mention this at all, so either the code should leave the value as-is, or the documentation should be very clear that the secret value needs to be url-encoded.
Might be helpful having an exception in there too to catch this scenario and warn the user that they need to encode the value.
- Ngôn ngữ chính
- C#
- Star
- 464
- Fork
- 78
- 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
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của robinrodricks/FluentStorage
-
Azure Blob bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
robinrodricks/FluentStorage#179 · 1 bình luận ·
-
question
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
robinrodricks/FluentStorage#178 · 7 bình luận ·
-
discussion help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
robinrodricks/FluentStorage#148 ·
-
response requested Wasabi
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
robinrodricks/FluentStorage#121 · 2 bình luận ·
-
maintainance work in progress
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 54/100
robinrodricks/FluentStorage#111 · 2 bình luận ·
Tất cả issue của robinrodricks/FluentStorage
Issue tương tự
-
good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 92/100
erkamyaman/rust-anything#943 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
SixLabors/ImageSharp.Drawing#438 · 1 bình luận ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 92/100
NetSparkleUpdater/NetSparkle#762 ·
-
ANSIInitializer.Enabled getterĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100