Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Esplicitare la dimensione massima degli allegati

Open
#175 1 comment 0 reactions 1 assignee View on GitHub

@robol is already working on this.

Since Sep 2, 2024.

Assessment

This issue has not been assessed yet.

Description

Ho provato a caricare un allegato in formato PDF al mio piano di studi. Inizialmente il file pesava 2.4MB e la post con l'allegato causava un error 500 molto sgradevole. Ho provato a ridurre la dimensione del file a circa 300kB ed ha funzionato senza problemi.

Sarebbe molto comodo se fosse implementata almeno una delle opzioni seguenti:

  • Scrivere esplicitamente nel form la dimensione massima degli allegati
  • Gestire l'errore in maniera migliore, riportando ad esempio restituendo un error 400 con un messaggio di errore che ne spiega il motivo
  • Bloccare user side l'inserimento di file troppo grandi (non sono sicuro sia fattibile)
Dominant language
PHP
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Unipisa/caps

All issues in Unipisa/caps

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.