Skip to content

Commit

Permalink
URLs with spaces fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMightyBuzzard committed Jan 13, 2016
1 parent c5d9293 commit 000aa67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Slash/Utility/Data/Data.pm
Expand Up @@ -2664,7 +2664,8 @@ sub fudgeurl {

# Remove quotes and whitespace (we will expect some at beginning and end,
# probably)
$url =~ s/["\s]//g;
# Whitespace is allowed nowadays --TMB
$url =~ s/"//g;
# any < or > char after the first char truncates the URL right there
# (we will expect a trailing ">" probably)
$url =~ s/^[<>]+//;
Expand Down

0 comments on commit 000aa67

Please sign in to comment.