tor
09-14-2009, 08:43 AM
When parsing the following html, sgmlParser(1.8.4) replaces "&part=sports" in the link with "∂sports".
before:
<?xml version="1.0" encoding="utf-8"?>
<html><head><title>Title</title></head><body onload=""><a href="broadcast.php?matchid=48619&part=sports"></a></body></html>
after:
<?xml version="1.0" encoding="utf-8"?>
<html><head><title>Title</title></head><body onload=""><a href="broadcast.php?matchid=48619∂sports"></a></body></html>
I think the problem is related to the statement on line 2089 in SgmlReader.cs. Commenting the 'if clause' out solves this problem, but might have unforeseen consequences.
(It probably does, as I have no idea what this statement was meant to accomplish).
before:
<?xml version="1.0" encoding="utf-8"?>
<html><head><title>Title</title></head><body onload=""><a href="broadcast.php?matchid=48619&part=sports"></a></body></html>
after:
<?xml version="1.0" encoding="utf-8"?>
<html><head><title>Title</title></head><body onload=""><a href="broadcast.php?matchid=48619∂sports"></a></body></html>
I think the problem is related to the statement on line 2089 in SgmlReader.cs. Commenting the 'if clause' out solves this problem, but might have unforeseen consequences.
(It probably does, as I have no idea what this statement was meant to accomplish).