You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2009/07/30 05:28:26 UTC
[Bug 6168] New: html title concatenation too tight
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6168
Summary: html title concatenation too tight
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Libraries
AssignedTo: dev@spamassassin.apache.org
ReportedBy: cedric@gn.apc.org
Created an attachment (id=4490)
--> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4490)
html content without spaces between tags
In the attached example:
<head><title>example.org</title></head><body><h1>example.net</h1>
the title is apparently concatenated to the body without any space. This means
that \b and ^ may not work as expected at the start of a body rule and also
confuses uri parsing:
dbg: uri: parsed uri found of type parsed, example.orgexample.net
</title> and </body> should imply at least as much of a break as <p> or <td>.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6168] html title concatenation too tight
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6168
Justin Mason <jm...@jmason.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Justin Mason <jm...@jmason.org> 2009-08-05 02:17:02 PST ---
thanks; applied.
: 219...; svn commit -m "bug 6168: <title> tags should be surrounded by an
implicit whitespace char in text rendering of HTML"
lib/Mail/SpamAssassin/HTML.pm
Sending lib/Mail/SpamAssassin/HTML.pm
Transmitting file data .
Committed revision 801100 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=801100 ).
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 6168] html title concatenation too tight
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6168
--- Comment #1 from Cedric Knight <ce...@gn.apc.org> 2009-08-04 18:02:47 PST ---
Created an attachment (id=4501)
--> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4501)
patch to put whitespace after title
This patch fixes the run-together of domain names in the test case (which was
based on an actual false positive), by putting the html title on a line of its
own. However, it doesn't deal with two adjacent h[n] headers: See also bug
#5749.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.