Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F224285
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
580 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/bin/html2text.php b/bin/html2text.php
index 2650bf2d6..478ccced9 100644
--- a/bin/html2text.php
+++ b/bin/html2text.php
@@ -1,11 +1,11 @@
<?php
define('INSTALL_PATH', realpath('./../') . '/');
require INSTALL_PATH.'program/include/iniset.php';
-$converter = new html2text($HTTP_RAW_POST_DATA);
+$converter = new html2text(html_entity_decode($HTTP_RAW_POST_DATA, ENT_COMPAT, 'UTF-8'));
header('Content-Type: text/plain; charset=UTF-8');
-print html_entity_decode(trim($converter->get_text()), ENT_COMPAT, 'UTF-8');
+print trim($converter->get_text());
?>
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Mar 1, 8:47 AM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
166477
Default Alt Text
(580 B)
Attached To
Mode
R3 roundcubemail
Attached
Detach File
Event Timeline
Log In to Comment