2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

FRITZBOX: bugfix "Unescaped left brace in regex is deprecated, passed..."

git-svn-id: https://svn.fhem.de/fhem/trunk@11796 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
grompo 2016-07-15 16:45:36 +00:00
parent cf10091631
commit b6ecb52c78

View File

@ -4492,7 +4492,7 @@ sub FRITZBOX_Web_Query($$@)
my $jsonText = $response->content; my $jsonText = $response->content;
# Remove illegal escape sequences # Remove illegal escape sequences
$jsonText =~ s/\\'/'/g; #Hochkomma $jsonText =~ s/\\'/'/g; #Hochkomma
$jsonText =~ s/\\x{[1-9a-f]}//g; #Hex nummer $jsonText =~ s/\\\x{[1-9a-f]}//g; #Hex nummer
my $jsonResult ; my $jsonResult ;
if ($charSet eq "UTF-8") { if ($charSet eq "UTF-8") {