bfda13f16c
A diff was already truncated after 200 lines. But it could still be arbitrarily enormous, if a spammer or other random noise source likes long lines. That could use a lot of memory to html encode etc the diff and fill it into the template. Truncating after 100kb seems sufficient; it allows for 200 lines of up to 512 characters each. |
||
---|---|---|
.. | ||
Plugin | ||
Setup | ||
CGI.pm | ||
Receive.pm | ||
Render.pm | ||
Setup.pm | ||
UserInfo.pm | ||
Wrapper.pm |