Posted by jrglasgow on March 4, 2009 at 12:36am
| Project: | Drupal core |
| Version: | 6.10 |
| Component: | other |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
This problem was noticed while using:
libxml2 v 2.7.2
works fine using:
libxml2 v 2.6.31
This error is described Here it is supposedly fixed in the latest version of PHP but not all Drupal users can control the version of PHP or libxml2 they are using. I have noticed that the main culprit is libxml2
I propose a fix based on this proposed fix for Wordpress:
Replace the characters that are removed from the xml-rpc message before the parser has a chance to remove then unnecessarily.
<?php
$xmlrpc_message->message = str_replace('<','<', $xmlrpc_message->message );
$xmlrpc_message->message = str_replace('>','>', $xmlrpc_message->message );
$xmlrpc_message->message = str_replace('&','&', $xmlrpc_message->message );
?>| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| drupal_core_6.x_xmlrpc_html_tags_mangled.patch | 943 bytes | Ignored: Check issue status. | None | None |
| drupal_core_HEAD_xmlrpc_html_tags_mangled.patch | 931 bytes | Ignored: Check issue status. | None | None |