mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 03:44:52 +00:00
70_Pushover.pm: fix after HttpUtils.pm change (Forum #133265)
git-svn-id: https://svn.fhem.de/fhem/trunk@27466 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f795a9a88b
commit
d67a5e33b9
@ -1476,10 +1476,10 @@ sub Pushover_HttpUri ($$;$) {
|
||||
|
||||
# replace any URL-encoded \n with their hex equivalent
|
||||
# but ignore \\n
|
||||
$v =~ s/(?<!%5c)(%5cn)/%0a/g;
|
||||
$v =~ s/(?<!%5c)(%5cn)/%0a/gi;
|
||||
|
||||
# replace any URL-encoded \\n by \n
|
||||
$v =~ s/%5c%5cn/%5cn/g;
|
||||
$v =~ s/%5c%5cn/%5cn/gi;
|
||||
|
||||
$uri .= "&" if ($uri);
|
||||
$uri .= "$n=$v";
|
||||
|
Loading…
x
Reference in New Issue
Block a user