savefeedorder, savefilterorder: do not use clean() on json payload
This commit is contained in:
parent
2c51facf61
commit
67bf38afda
2 changed files with 3 additions and 3 deletions
2
classes/pref/feeds.php
Normal file → Executable file
2
classes/pref/feeds.php
Normal file → Executable file
|
@ -389,7 +389,7 @@ class Pref_Feeds extends Handler_Protected {
|
|||
}
|
||||
|
||||
function savefeedorder() {
|
||||
$data = json_decode(clean($_POST['payload']), true);
|
||||
$data = json_decode($_POST['payload'], true);
|
||||
|
||||
#file_put_contents("/tmp/saveorder.json", clean($_POST['payload']));
|
||||
#$data = json_decode(file_get_contents("/tmp/saveorder.json"), true);
|
||||
|
|
|
@ -16,7 +16,7 @@ class Pref_Filters extends Handler_Protected {
|
|||
}
|
||||
|
||||
function savefilterorder() {
|
||||
$data = json_decode(clean($_POST['payload']), true);
|
||||
$data = json_decode($_POST['payload'], true);
|
||||
|
||||
#file_put_contents("/tmp/saveorder.json", clean($_POST['payload']));
|
||||
#$data = json_decode(file_get_contents("/tmp/saveorder.json"), true);
|
||||
|
@ -1243,4 +1243,4 @@ class Pref_Filters extends Handler_Protected {
|
|||
|
||||
$this->pdo->commit();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue