From: paul Date: Wed, 2 Mar 2016 13:30:03 +0000 (+0000) Subject: remove obsolete manual call to post data parser X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=f53385198b80cd7df7ad7a11f4f77bfe2f69cf50;p=serve0 remove obsolete manual call to post data parser svn path=/trunk/; revision=105 --- diff --git a/actions/filter.sh b/actions/filter.sh index 2a3d4a3..f5057be 100755 --- a/actions/filter.sh +++ b/actions/filter.sh @@ -16,7 +16,6 @@ # You should have received a copy of the GNU Affero General Public License # along with Serve0 If not, see . -cgi_post order=$(validate "${_POST[o]}" 'Name|Length|Date' Name) for fn in {0..9}; do diff --git a/actions/meta.sh b/actions/meta.sh index d44e047..74ad014 100755 --- a/actions/meta.sh +++ b/actions/meta.sh @@ -25,7 +25,6 @@ filter="${_GET[f]}" page="${_GET[pn]}" file="${_DATA}/meta/$info.meta" -cgi_post length="${_POST[length]}" width="${_POST[width]}" height="${_POST[height]}" diff --git a/actions/multitag.sh b/actions/multitag.sh index 242db28..2b30af8 100755 --- a/actions/multitag.sh +++ b/actions/multitag.sh @@ -41,7 +41,6 @@ $description EOF } -cgi_post n='' while [ -n "${_POST[tagsel$n]}" ]; do tagsel="${_POST[tagsel$n]}" diff --git a/actions/preferences.sh b/actions/preferences.sh index 9936bec..9707d68 100755 --- a/actions/preferences.sh +++ b/actions/preferences.sh @@ -1,7 +1,5 @@ #!/bin/zsh -cgi_post - fakemp4=$( validate "${_POST[fakemp4]}" yes no) watch=$( validate "${_POST[watch]}" '(240p|480p|download|raspi|player|server)' player) pagesize=$(validate "${_POST[pagesize]}" '[1-9][0-9]*' 50)