the uploader does not check for maximum number of custom header fields

Offen
#124 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
Ein halber Tag
Anfängerfreundlichkeit
28/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
cloud

Rechercherichtung

The issue concerns the uploader's handling of the file_info dict, which is where custom header entries are passed; the payload names no files or tests, so locate that code by searching for file_info in the upload path. Start by checking how many entries are accepted and what the request does with them. Done would mean an oversized file_info fails with a clear error instead of the cryptic broken-pipe message. The issue has been open about six years with no answer, so confirm the maintainers still want this before starting.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

when one passes a dict to file_info it is not checked whether too many entries fields are present.

Cryptic error is thrown, ie:

FAILED to upload after 5 tries. Encountered exceptions: Broken pipe: unable to send entire request
Vorherrschende Sprache
Python
Sterne
214
Forks
68
Ø Merge
51 Min.
Gemergte PRs (30 T.)
6

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Backblaze/b2-sdk-python

Alle Issues in Backblaze/b2-sdk-python

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.