Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Assessments Mapper: Implement document size limit

Aberta
#1,265 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
50/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
fastapi, python
Domínio
api, backend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Python
Estrelas
18
Forks
11
Merge médio
4d 3h
PRs com merge (30d)
13

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de ProjectTech4DevAI/kaapi-backend

Todas as issues de ProjectTech4DevAI/kaapi-backend

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.