[pLog-svn] r2429 - plog/branches/plog-1.0.2/class/net/xmlrpc
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Tue Aug 30 19:07:59 GMT 2005
Author: oscar
Date: 2005-08-30 19:07:58 +0000 (Tue, 30 Aug 2005)
New Revision: 2429
Modified:
plog/branches/plog-1.0.2/class/net/xmlrpc/IXR_Library.lib.php
Log:
fixed http://bugs.plogworld.net/view.php?id=692, where the category name (the key in the xmlrpc struct) wasn't being escaped properly and category names like "this & that" would make strict xml parsers crash.
Modified: plog/branches/plog-1.0.2/class/net/xmlrpc/IXR_Library.lib.php
===================================================================
--- plog/branches/plog-1.0.2/class/net/xmlrpc/IXR_Library.lib.php 2005-08-30 02:12:52 UTC (rev 2428)
+++ plog/branches/plog-1.0.2/class/net/xmlrpc/IXR_Library.lib.php 2005-08-30 19:07:58 UTC (rev 2429)
@@ -89,7 +89,7 @@
case 'struct':
$return = '<struct>'."\n";
foreach ($this->data as $name => $value) {
- $return .= " <member><name>$name</name><value>";
+ $return .= " <member><name>".htmlspecialchars($name)."</name><value>";
$return .= $value->getXml()."</value></member>\n";
}
$return .= '</struct>';
More information about the pLog-svn
mailing list