Bug 6093

Summary: Unable to recognized hostname only, no domain, uris
Product: Spamassassin Reporter: Michael Parker <parkerm>
Component: LibrariesAssignee: SpamAssassin Developer Mailing List <dev>
Status: RESOLVED FIXED    
Severity: major CC: apache
Priority: P5    
Version: SVN Trunk (Latest Devel Version)   
Target Milestone: Undefined   
Hardware: Other   
OS: All   
Whiteboard:
Attachments: uri.t update to show hostname only uri bug

Description Michael Parker 2009-04-07 23:48:53 UTC
Created attachment 4439 [details]
uri.t update to show hostname only uri bug

A text/plain plain message with a uri that contains only a hostname, no valid domain, is not recognized by the uri parsing code.

See attached uri.t update that demonstrates the problem.
Comment 1 Henrik Krohns 2019-10-02 10:26:31 UTC
trunk/3.4.3 does support plain hostname and even Firefox-like canonicalizes it http://foo/ -> http://www.foo.com/

Added test for it

Sending        spamassassin-3.4/t/uri.t
Sending        trunk/t/uri.t
Transmitting file data ..done
Committing transaction...
Committed revision 1867881.