libwww-perl / URI

The Perl URI module
https://metacpan.org/pod/URI
Other
57 stars 48 forks source link

require_attempted check for failed scheme loading never works #54

Closed todd-richmond closed 9 months ago

todd-richmond commented 6 years ago

code was added in URI.pm to add failed $scheme.pm load caching, but the code forgets to fill the hash. You need to set the hash key before calling "require $ic" so that it is never tried again

$require_attempted{$ic} = 1;

Same exact bug in URI/urn.pm