pombreda / gitit

Automatically exported from code.google.com/p/gitit
0 stars 0 forks source link

setting max-upload-size to 0k prevent page from editing #96

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. set max-upload-size to 0k
2. edit a page

What is the expected output? What do you see instead?
page updated / Server error: Page exceeds maximum size.

What version of the product are you using? On what operating system?
0.7.3.1

Please provide any additional information below.
none

Original issue reported on code.google.com by nfjinj...@gmail.com on 21 Mar 2010 at 7:36

GoogleCodeExporter commented 9 years ago
max-upload-size was being pressed into service also as max-page-size, which 
obviously breaks when you set it to 0.  I'm fixing this by removing the check 
to see that 
the edited page is less than max-upload-size.  Perhaps in the future we'll want 
to add a 
max-page-size.
Fixed in 0f11063

Original comment by fiddloso...@gmail.com on 21 Mar 2010 at 7:58