]> git.plutz.net Git - serve0/blobdiff - actions/multitag.sh
submit page locators via post instead of relying on referrer
[serve0] / actions / multitag.sh
index 767f289e85665df68b91d7c5e781ffb72049939a..91a787b4a896130d17b414625dd4631d7bbfe995 100755 (executable)
 # You should have received a copy of the GNU Affero General Public License
 # along with Serve0  If not, see <http://www.gnu.org/licenses/>.
 
-filter="${_GET[f]}"
-search="${_GET[s]}"
-order=$(validate "${_GET[o]}" 'Name|Date|Length' Name)
-page=$(validate "${_GET[pn]}" '[0-9]+' 1)
+filter="${_POST[f]}"
+search="${_POST[s]}"
+order=$(validate "${_POST[o]}" 'Name|Date|Length' Name)
+page=$(validate "${_POST[pn]}" '[0-9]+' 1)
 
 addtag(){
   meta="$1"