Menu

#493 Edit Answer not working

open
nobody
5
2014-08-26
2013-04-17
No

Edit Answer not working in Firefox (some AJAX/XML Problem)

Discussion

  • Anonymous

    Anonymous - 2013-05-29

    I had the same problem on Ubuntu 13.4 running PHP 5.4.9. The problem is that htmlspecialchars($data) in the function sendHTMLMangledIntoXML in lib/http/sendXML.php on line 101 returns an empty string, probably because it encounters a wrongly-encoded character.

    Line 101 should be replaced with something like the following:

    sendXMLContainer('content', htmlspecialchars($data, ENT_QUOTES | ENT_SUBSTITUTE, 'utf-8'), $attributes);

    The htmlspecialchars method is called in many places, maybe all of these should be replaced.

     
  • Anonymous

    Anonymous - 2013-05-29

    There seems to be a more general problem with umlauts in German templates and translation files. Most of the time they are not encoded in utf-8, which means that parts of affected pages aren't rendered.
    This affects menu items, tabs, and everything fetched dynamically.
    I have spent half an hour adding "ENT_QUOTES | ENT_SUBSTITUTE" to most calls of htmlspecialchars. Now I can at least see all elements I am supposed to see, albeit partially garbled.

     
  • AZ

    AZ - 2014-08-26

    I have the same problem using the German backend; any news here?

     

Log in to post a comment.