summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2010-11-03 23:02:15 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2010-11-03 23:02:15 +1100
commitf864d5df16fc6730250c1d35133f11cbd8c6a83d (patch)
tree01419a7260c5f68b57a145abf7f9b6e34f05ba56 /post.php
parent16b6548b4a18402055f30286be38d68eff81f817 (diff)
Fixed small issue with UTF-8 characters decreasing the maximum length of inputs.
Diffstat (limited to 'post.php')
-rw-r--r--post.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/post.php b/post.php
index 4fc5ce98..9ba09fc1 100644
--- a/post.php
+++ b/post.php
@@ -67,7 +67,7 @@
}
$post['name'] = (!empty($_POST['name'])?$_POST['name']:'Anonymous');
- $post['subject'] = utf8tohtml($_POST['subject']);
+ $post['subject'] = $_POST['subject'];
$post['email'] = utf8tohtml($_POST['email']);
$post['body'] = $_POST['body'];
$post['password'] = $_POST['password'];
@@ -78,7 +78,7 @@
error(ERR_FILSIZE);
$trip = generate_tripcode($post['name']);
- $post['name'] = utf8tohtml($trip[0]);
+ $post['name'] = $trip[0];
$post['trip'] = (isset($trip[1])?$trip[1]:'');
if($post['email'] == 'noko') {