Bug 6093 - Unable to recognized hostname only, no domain, uris
Summary: Unable to recognized hostname only, no domain, uris
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Libraries (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: Other All
: P5 major
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-07 23:48 UTC by Michael Parker
Modified: 2019-10-02 10:26 UTC (History)
1 user (show)



Attachment Type Modified Status Actions Submitter/CLA Status
uri.t update to show hostname only uri bug patch None Michael Parker [HasCLA]

Note You need to log in before you can comment on or make changes to this 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.