Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bad anchor in regex for fixing # in URLs

  • Loading branch information...
commit 75f353d30244017bff31e089c54f9d245030ba81 1 parent 251d288
@pudge pudge authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Slash/Utility/Data/Data.pm
View
2  Slash/Utility/Data/Data.pm
@@ -2068,7 +2068,7 @@ sub fudgeurl {
if ($url =~ /#/) {
# no # is OK, unless ...
$url =~ s/#/%23/g;
- if ($url =~ m|^https?://$|i) {
+ if ($url =~ m|^https?://|i) {
# HTTP, in which case the first # is OK
$url =~ s/%23/#/;
}
Please sign in to comment.
Something went wrong with that request. Please try again.