]> git.plutz.net Git - serve0/blobdiff - pages/view.sh
introduced page size cookie; globalised some input validation
[serve0] / pages / view.sh
index 8bbd434cd831e51a0ed48e8dcf0409e7edafc4c5..9dc0cc72773243736c16a75e3aa9f4c75cfe0e7b 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/>. 
 
+info="${_GET[i]}"
 . $_EXEC/pages/common.sh
 
-info="$_GET[\"i\"]"
-
 meta="${_DATA}/meta/$info.meta"
 video="${_DATA}/videos/$info"
 tags="$(sed -n '2p' "$meta")"