838d6fe4b4
PR: ports/177030 Submitted by: Chris Petrik <c.petrik.sosa@gmail.com> (maintainer)
13 lines
346 B
Diff
13 lines
346 B
Diff
--- lib/TWiki.pm.bak 2013-03-25 12:03:24.000000000 +0000
|
|
+++ lib/TWiki.pm 2013-03-25 12:04:08.000000000 +0000
|
|
@@ -2722,8 +2722,8 @@
|
|
sub urlDecode {
|
|
my $text = shift;
|
|
|
|
- $text =~ s/%([\da-f]{2})/chr(hex($1))/gei;
|
|
-
|
|
+ $text =~ s/%u([\da-f]+)/chr(hex($1))/eig;
|
|
+ $text =~ s/%([\da-f]{2})/chr(hex($1))/gei;
|
|
return $text;
|
|
}
|
|
|