Commit 67bf38af authored by Andrew Dolgov's avatar Andrew Dolgov

savefeedorder, savefilterorder: do not use clean() on json payload

parent 2c51facf
......@@ -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();
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment