Menu

#11 Fix for XML parser break in Firefox 20.x

Unstable_(example)
closed-rejected
nobody
None
5
2015-09-21
2013-04-13
No

The behaviour of the XML parser in XmlHttpRequest has changed. This
breaks display of HTML elements returned by AJAX/SQL backends.

The behaviour differs from other browsers and older versions of the
same browser. It is possible that it'll be changed back in Firefox
21.x and higher.

Nevertheless, here's a patch that may be useful for other users as
well.

Firefox < 20.0 <foo> was parsed and returned as <bla>
Firefox >= 20.0 <foo> is parsed and returned as <bla></foo></bla></foo>

This breaks Icons and other HTML code in Rico.LiveGrid cells

1 Attachments

Discussion

  • Matt Brown

    Matt Brown - 2013-04-18

    Thank you for submitting the patch. I have already developed a fix and will be posting an updated version shortly.

     
  • Matt Brown

    Matt Brown - 2013-04-18
    • status: open --> closed-rejected
     
  • Joey Schulze

    Joey Schulze - 2015-09-21

    I've just switched to the rico3 branch and discovered that the problem still exists.
    Thus, for the sake of other users, here's an updated patch for the rico3 branch.
    This patch is required if the frontend should display images provided by the backend with proper HTML tags

     

Log in to post a comment.

MongoDB Logo MongoDB