This queue is for tickets about the URI-Find-Simple CPAN distribution.

Report information
The Basics
Id:
75241
Status:
rejected
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
kiyoshi.aman [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
1.03
Fixed in:
(no value)



Subject: Authority-less HTTP/HTTPS URIs are pulled in.
Hi, Presently, URI::Find::Simple pulls in URIs such as 'http://' or 'http://:80' which lack an authority and thus have no useful purpose. It would be appreciated if such URIs were either passed over, or if a similar API existed for the subset of URIs which are also URLs. (I am currently manually filtering invalid URLs in my script, but I feel it is more appropriate for that to be done or doable via the module, rather than code calling upon it.) I look forward to working with you in this matter and hope we can come to an agreeable solution. --Kiyoshi Aman
I'm sorry - I'm not willing to fix this. URI::Find::Simple is the simplest possible wrapper over URI::Find, and fixing this bug would entail adding parameters to the find call, or changing the API in a backwards-incompatible way. If you want to do anything over what this module does, I'd suggest you just wrap URI::Find directly, and save yourself a dependency. On Thu Feb 23 08:38:07 2012, AERDAN wrote:
Show quoted text
> Hi, > > Presently, URI::Find::Simple pulls in URIs such as 'http://' or > 'http://:80' which lack an authority and thus have no useful purpose. It > would be appreciated if such URIs were either passed over, or if a > similar API existed for the subset of URIs which are also URLs. > > (I am currently manually filtering invalid URLs in my script, but I feel > it is more appropriate for that to be done or doable via the module, > rather than code calling upon it.) > > I look forward to working with you in this matter and hope we can come to > an agreeable solution. > > --Kiyoshi Aman


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.