Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Bug Fixes
* URI first character matching [github 17] (lazarus)

20160806 Sat Aug 6 13:36:14 PDT 2016
Distribution
* Homepage is now metacpan
Expand Down
2 changes: 1 addition & 1 deletion lib/URI/Find.pm
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ my $extraSchemesRe = qr{^(?:git|svn|ssh|svn\+ssh)$};
# We need to avoid picking up 'HTTP::Request::Common' so we have a
# subset of uric without a colon ("I have no colon and yet I must poop")
my($uricCheat) = __PACKAGE__->uric_set;
$uricCheat =~ tr/://d;
$uricCheat =~ s{ \\ \: }{}mx; # Issue #17

# Identifying characters accidentally picked up with a URI.
my($cruftSet) = q{])\},.'";}; #'#
Expand Down
1 change: 1 addition & 0 deletions t/filter.t
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ my @tasks = (

# Non-URL nested inside brackets
[q{<a href="foo://example&.com">}, q{<a href="foo://example&amp;.com">}],
[q{ http:\/example.com }, q{ http:\/example.com }],
);

for my $task (@tasks) {
Expand Down