14 lines
346 B
Diff
14 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;
|
|
}
|
|
|