aboutsummaryrefslogtreecommitdiff
path: root/doc/shortcuts.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2012-01-23 18:36:33 -0400
committerJoey Hess <joey@kitenet.net>2012-01-23 18:39:53 -0400
commitbfda13f16c3a055b30d7e5448dd6640a12898adc (patch)
tree2df344174e45fe760108cdaef52c1663e36a8a58 /doc/shortcuts.mdwn
parent0376a8da8ac42a4c7da4acfd588767ff8e062364 (diff)
downloadikiwiki-bfda13f16c3a055b30d7e5448dd6640a12898adc.tar
ikiwiki-bfda13f16c3a055b30d7e5448dd6640a12898adc.tar.gz
recentchangesdiff: truncate extremely large diffs
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.
Diffstat (limited to 'doc/shortcuts.mdwn')
0 files changed, 0 insertions, 0 deletions