Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#6440 closed defect (duplicate)

Error in the browser rendering of spam filter code

Reported by: datakid@… Owned by: Matthew Good
Priority: low Milestone:
Component: plugin/spamfilter Version:
Severity: minor Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I've tried this in Firefox 2.0.0.11, Epiphany and Opera on Ubuntu Gutsy.

http://trac.edgewall.org/browser/sandbox/spam-filter/tracspamfilter/filters/tests/extlinks.py

give's the following error:

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 244, in dispatch
    req.display(template, content_type or 'text/html')
  File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 358, in display
    data = self.hdf.render(template, form_token)
  File "/usr/lib/python2.4/site-packages/trac/web/clearsilver.py", line 296, in render
    injector.feed(template.render())
  File "/usr/lib/python2.4/HTMLParser.py", line 108, in feed
    self.goahead(0)
  File "/usr/lib/python2.4/HTMLParser.py", line 150, in goahead
    k = self.parse_endtag(i)
  File "/usr/lib/python2.4/HTMLParser.py", line 314, in parse_endtag
    self.error("bad end tag: %r" % (rawdata[i:j],))
  File "/usr/lib/python2.4/HTMLParser.py", line 115, in error
    raise HTMLParseError(message, self.getpos())
HTMLParseError: bad end tag: '</a">', at line 177, column 137

Attachments (0)

Change History (2)

comment:1 by Emmanuel Blot, 17 years ago

Resolution: duplicate
Status: newclosed

Copying n' pasting #6404:

Please search for duplicate first, thanks.

search:"HTMLParseError: malformed start tag"

See #4691 which describes a workaround.

in reply to:  1 comment:2 by Emmanuel Blot, 17 years ago

Replying to eblot:

search:"HTMLParseError: malformed start tag"

That would be "HTMLParseError: bad end tag" here.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matthew Good.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Matthew Good to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.