Connection strings containing special URL encoding characters are mangled
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- C#
- Stelle
- 464
- Fork
- 78
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di robinrodricks/FluentStorage
-
Azure Blob bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
robinrodricks/FluentStorage#179 · 1 commento ·
-
question
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
robinrodricks/FluentStorage#178 · 7 commenti ·
-
discussion help wanted
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
robinrodricks/FluentStorage#148 ·
-
response requested Wasabi
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
robinrodricks/FluentStorage#121 · 2 commenti ·
-
maintainance work in progress
Difficoltà 3/5 1-2 giorni Idoneità per principianti 54/100
robinrodricks/FluentStorage#111 · 2 commenti ·
Tutte le issue di robinrodricks/FluentStorage
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
-
bug effort:S P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
nightscout/nocturne#4563 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
KnifeLemon/Filee#1887 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno