codeforcroatia / imamopravoznati

Provide a Freedom of Information request system for your jurisdiction
http://alaveteli.org
Other
3 stars 1 forks source link

Response via IPZ web with attach - nginx error: 413 Request Entity Too Large #91

Closed schlos closed 3 years ago

schlos commented 3 years ago

Expected Behavior

FOI officer response should be added to the FOI thread.

Current Behavior

http://imamopravoznati.org/upload/request/ocevidnik_nekretnina_i_pokretnin?post_redirect=1 413 Request Entity Too Large nginx

Possible Solution

Steps to Reproduce (for bugs)

  1. Go to generated URL for FOI officers
  2. Add text + attach (~1.5 MB, PDF)
  3. Submit
  4. Observe error

Context

Your Environment

schlos commented 3 years ago

Submitting works without attach: http://imamopravoznati.org/request/ocevidnik_nekretnina_i_pokretnin#incoming-9081

schlos commented 3 years ago

Not reproducible on 0.39.x.x:

"alaveteli_git_commit": "7618a519c26758ad1b7ef242386a1a87c860f968", "alaveteli_version": "0.39.1.3", "ruby_version": "2.5.1",