Opened 10 years ago

Last modified 9 years ago

#1014 closed defect (Fixed)

Torbutton causes "XML Parsing Error: undefined entity"

Reported by: njw Owned by:
Priority: High Milestone:
Component: Applications/Torbutton Version: 0.2.0.33
Severity: Keywords:
Cc: njw Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Firstly, apologies if this is the wrong place for Torbutton bug reports. I see advice to "select the Torbutton project on this tracker", but can find no such button.

Anyway, when I navigate to any xhtml strict page which has any non-numerical entities (e.g.  ), I recieve the error page "XML Parsing Error: undefined entity" when torbutton is enabled. When it tor is turned off from it, or the addon is disabled, I have no such problems. Also, if the addon is disabled and I manually enable the tor proxy settings, I do not experience any problems. I guess this is something to do with torbutton disallowing access to an external file to find the meaning of entities.

This behaviour can be seen for example when trying to access the page http://git.goodpoint.de/?p=beamer-theme-matrix.git , which causes the following errorpage:

XML Parsing Error: undefined entity
Location: http://git.goodpoint.de/?p=beamer-theme-matrix.git
Line Number 41, Column 20:<div class="title">&nbsp;</div>


This behaviour has been present for a while, I think since the first Firefox 3 release (maybe before), and is present for me with release 3.0.11. I'm currently running a stable and up-to-date x86 gentoo.

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Attachments (1)

torbutton-1.2.3-pre5.xpi (341.1 KB) - added by mikeperry 9 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 10 years ago by njw

My guess was right; when accessing such a page, the following is returned to the error console:

[06-23 16:38:35] Torbutton NOTE: Blocking local request from: http://git.goodpoint.de/?p=genkernsec.git;a=summary (http) for: file:///usr/lib/xulrunner-1.9/res/dtd/xhtml11.dtd

Changed 9 years ago by mikeperry

Attachment: torbutton-1.2.3-pre5.xpi added

comment:2 Changed 9 years ago by mikeperry

Wow, sorry I let this slip through the cracks for so long. Excellent diagnosis. I've attached a fix api in
the attachments tab. It seems to have solved it for me.

comment:3 Changed 9 years ago by njw

No problem Mike, thanks for getting to it now. The attached xpi fixes it for me too. So very many thanks, and feel free to close the bug resolved.

comment:4 Changed 9 years ago by mikeperry

flyspray2trac: bug closed.
Fix will appear in 1.2.3

Note: See TracTickets for help on using tickets.