Unable to download file with %20 in the name anymore
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 55/100
Direzione di ricerca
Start by tracing FtpClient.DownloadBytes to SanitizerModule.SanitizePath and check how the %20 sequence in a filename is handled; compare the behavior with version 53.0.2 if needed. The issue gives no file or test path, so locate the relevant download tests and add coverage for a filename containing %20. Done when the file can be downloaded without the reference being changed to a space.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
In the last version of FluentFTP (version 54.1.2), it is no longer possible to download a file using the FtpClient.DownloadBytes method if the file name contains the string ‘%20’.
When the DownloadBytes method is executed, the SanitizerModule.SanitizePath method is called internally: this converts the string to a space, corrupting the file reference, so that it no longer matches the file on disk.
It was possible to work with files with this type of name at least up to version 53.0.2, where sanitisation was not present.
- Lingua principale
- C#
- Stelle
- 3.4k
- Fork
- 684
- Merge medio
- 3g 11h
- PR unite (30g)
- 4
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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/FluentFTP
-
enhancement help wanted major
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
robinrodricks/FluentFTP#1889 · 3 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
robinrodricks/FluentFTP#1887 ·
-
.NET maintenance response requested
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
robinrodricks/FluentFTP#1886 · 7 commenti ·
-
bug fixed Pending next release pureftpd-server workaround
Difficoltà 3/5 1-2 giorni Idoneità per principianti 57/100
robinrodricks/FluentFTP#1878 · 12 commenti ·
-
incorrect usage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 50/100
robinrodricks/FluentFTP#1859 · 4 commenti ·
Tutte le issue di robinrodricks/FluentFTP
Issue simili
-
agentic-workflows
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
dotnet/maui#40788 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
erkamyaman/rust-anything#943 ·
I maintainer di solito rispondono entro 1 giorno
-
priority:P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
SixLabors/ImageSharp.Drawing#438 · 1 commento ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100