Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Assessments Mapper: Implement document size limit

Aperta
#1,265 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
50/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
fastapi, python
Ambito
api, backend

Direzione di ricerca

The payload names no files. Start by finding the assessments mapper endpoints that accept document uploads, then trace how the request body or file is read. The 20 MB limit has to be enforced before the whole file is buffered, so check how the existing upload path reads it. Done means an oversized document is rejected with a clear client error and a test covers both the accepted and rejected sizes.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Is your feature request related to a problem?
Currently, there is no size limit for documents in the assessments mapper. This can lead to potential abuse of the endpoints by malicious actors.

Describe the solution you'd like

  • Implement a 20 MB size limit for documents in the assessments mapper.
  • Enhance security by preventing abuse of the endpoints.
Original issue

Describe the current behavior
Add 20 MB size limit for documents in the assessments mapper

Describe the enhancement you'd like
This will prevent malicious actors from abusing the endpoints.

Lingua principale
Python
Stelle
18
Fork
11
Merge medio
4g 3h
PR unite (30g)
13

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ProjectTech4DevAI/kaapi-backend

Tutte le issue di ProjectTech4DevAI/kaapi-backend

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.