Mailing List Archive

[Bug 8203] New: DecodeShortURLs failure when LWP::Protocol::Https is not installed
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8203

Bug ID: 8203
Summary: DecodeShortURLs failure when LWP::Protocol::Https is
not installed
Product: Spamassassin
Version: 4.0.0
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Building & Packaging
Assignee: dev@spamassassin.apache.org
Reporter: sidney@sidney.com
Target Milestone: Undefined

LWP::UserAgent is declared as an optional dependency. If it is installed, it
is used by sa-update and DecodeShortURLs. However, in order for LWP::UserAgent
to support https protocol, LWP::Protocol::https has to be installed. It is not
listed as an optional dependency. If LWP::UserAgent is installed but
LWP::Protocol::https is not, then t/decodeshorturl.t fails.

Also, t/decodeshorturl.t fails if LWP::UserAgent is not installed, instead of
detecting that the optional module is not installed and skipping the tests.

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