https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7891

            Bug ID: 7891
           Summary: spamassassin expands domain by wrong TLD
           Product: Spamassassin
           Version: 3.4.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: spamassassin
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

spamassassin expands some domains by a .com TLD although the domain without
.com is perfectly valid (uncommon but valid).

To reproduce: add a domain like www.ch into a mail and see spamassassin's debug
output

```
spamassassin -D </tmp/redacted 2>&1|egrep 'URIHOSTS|URIDOMAINS'
Mar 15 08:43:09.824 [32657] dbg: check: tagrun - tag URIHOSTS is now ready,
value: ARY:[www.ch,www.ch.com]
Mar 15 08:43:09.825 [32657] dbg: check: tagrun - tag URIDOMAINS is now ready,
value: ARY:[ch.com,www.ch]
```

in the message only www.ch is present but SA expands it by .com and then checks
domains completely not related to this message (ch.com and www.ch.com)

If a scheme is prepended to the uri link (ex http://www.ch) then SA does
**mot** append the .com TLD

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to