Active
Project:
DruTeX
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jul 2010 at 19:29 UTC
Updated:
26 Jul 2010 at 08:30 UTC
Hi,
I have a problem with special characters when using remote rendering : for example, "&" and "<" are replaced by their HTML entities, so they are not interpreted by the latex command. I think it's due to the call of "htmlentities" function before sending the http request.
I personaly replace in drutex_remote.inc (in the remote server) this line (312) :
$text = $_REQUEST['text'];
by this one :
$text = html_entity_decode($_REQUEST['text']);
but I don't know if it can cause other security issues.
Sorry for my poor english :)
Thanks
Comments
Comment #1
steven jones commentedHmm...I think that actually the $_REQUEST array values do go through html_entity_decode already? I suspect the issue might be with something else escaping those entities before DruTeX gets a chance to process them.