From: Sven Schöling Date: Wed, 28 Dec 2011 18:58:27 +0000 (+0100) Subject: typo: pack "c" ist für signed byte, pack "C" für unsigned byte X-Git-Tag: release-2.7.0beta1~116 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0ab929155ed24fd4f79dcc27fde61ec91723851a;p=kivitendo-erp.git typo: pack "c" ist für signed byte, pack "C" für unsigned byte --- diff --git a/SL/MoreCommon.pm b/SL/MoreCommon.pm index 1b83653e2..1c1e001d3 100644 --- a/SL/MoreCommon.pm +++ b/SL/MoreCommon.pm @@ -176,7 +176,7 @@ sub uri_decode { $str =~ tr/+/ /; $str =~ s/\\$//; - $str =~ s/%([0-9a-fA-Z]{2})/pack("c",hex($1))/eg; + $str =~ s/%([0-9a-fA-Z]{2})/pack("C",hex($1))/eg; $str = Encode::decode('utf-8-strict', $str) if $::locale->is_utf8; return $str;