2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 16:59:18 +00:00

90_at.pm: csrf fix for the at wizard

git-svn-id: https://svn.fhem.de/fhem/trunk@13491 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-02-23 08:49:45 +00:00
parent 07c8f7b72a
commit 6b5873e986

View File

@ -383,7 +383,7 @@ return "<br>Timespec wizard:".
"{"+$("[name=aw_pts]").val()+"}" : $("[name=aw_ts]").val();
def = def.replace(/\+/g, "%2b");
def = def.replace(/;/g, ";;");
location = location.pathname+"?detail="+nm+"&cmd=modify "+def;
location = location.pathname+"?detail="+nm+"&cmd=modify "+addcsrf(def);
});
}
</script>