Slight modification to CSRF error message to make timeouts less user-unfriendly.
[htmlpurifier-web.git] / phorum.patch
blobd7a7a9e146982d7c5f49c632aade9199055515c8
1 Common subdirectories: phorum-original/cache and phorum/cache
2 Common subdirectories: phorum-original/docs and phorum/docs
3 Common subdirectories: phorum-original/extension_src and phorum/extension_src
4 Common subdirectories: phorum-original/images and phorum/images
5 Common subdirectories: phorum-original/include and phorum/include
6 Common subdirectories: phorum-original/mods and phorum/mods
7 Common subdirectories: phorum-original/portable and phorum/portable
8 Common subdirectories: phorum-original/scripts and phorum/scripts
9 Common subdirectories: phorum-original/templates and phorum/templates
10 diff -ur --exclude=config.php phorum-original/include/posting/check_integrity.php phorum/include/posting/check_integrity.php
11 --- phorum-original/include/posting/check_integrity.php 2007-07-13 11:23:28.000000000 -0400
12 +++ phorum/include/posting/check_integrity.php 2008-10-13 16:59:57.745800000 -0400
13 @@ -53,7 +53,7 @@
14 } elseif (!empty($message["email"]) &&
15 !phorum_valid_email($message["email"])) {
16 $error = $PHORUM["DATA"]["LANG"]["ErrEmail"];
17 - } elseif (strlen($message["body"]) > 64000) {
18 + } elseif (strlen($message["body"]) > 16777000) {
19 $error = $PHORUM["DATA"]["LANG"]["ErrBodyTooLarge"];