diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-08-27 02:18:31 +1000 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-08-27 02:18:31 +1000 |
| commit | c919e7362542117f613c2800017ae89c269a07b5 (patch) | |
| tree | cad4fc6a21980b3613507620f16cb7a8744a70fd /post.php | |
| parent | 4d37fb761f1c41b29bf0498f3dd59e83d04cf123 (diff) | |
Temporary bugfix for incorrectly escaped email field
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -281,7 +281,7 @@ if (isset($_POST['delete'])) { $post['name'] = $_POST['name'] != '' ? $_POST['name'] : $config['anonymous']; $post['subject'] = $_POST['subject']; - $post['email'] = utf8tohtml($_POST['email']); + $post['email'] = str_replace(' ', '%20', htmlspecialchars($_POST['email'])); $post['body'] = $_POST['body']; $post['password'] = $_POST['password']; $post['has_file'] = !isset($post['embed']) && (($post['op'] && !isset($post['no_longer_require_an_image_for_op']) && $config['force_image_op']) || (isset($_FILES['file']) && $_FILES['file']['tmp_name'] != '')); |
