Skip Menu |

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

Report information
The Basics
Id: 75241
Status: rejected
Priority: 0/
Queue: URI-Find-Simple

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

Bug Information
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