projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b260ba
)
Beim URL-Unescapen von UTF-8 ins internen Encoding wandeln, sofern benötigt
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 2 Feb 2011 09:57:26 +0000
(10:57 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 2 Feb 2011 09:57:26 +0000
(10:57 +0100)
Fix für Bug 1583.
SL/Form.pm
patch
|
blob
|
history
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
81d6dc4
..
6b1ee50
100644
(file)
--- a/
SL/Form.pm
+++ b/
SL/Form.pm
@@
-394,6
+394,7
@@
sub unescape {
$str =~ s/\\$//;
$str =~ s/%([0-9a-fA-Z]{2})/pack("c",hex($1))/eg;
+ $str = Encode::decode('utf-8-strict', $str) if $::locale->is_utf8;
$main::lxdebug->leave_sub(2);