]> git.plutz.net Git - serve0/commitdiff
send reference to return page for various actions
authorpaul <paul@plutz.net>
Wed, 8 Feb 2017 14:11:28 +0000 (14:11 +0000)
committerpaul <paul@plutz.net>
Wed, 8 Feb 2017 14:11:28 +0000 (14:11 +0000)
svn path=/trunk/; revision=175

actions/watch.sh

index 546654c6adfcdd2b7583d615e46d2b31dab94991..5e0281986541be2e99b7736652e2f1eb9671a22c 100755 (executable)
@@ -27,7 +27,7 @@ if [ "${_COOKIE[fakemp4]}" = yes ] && [ "${info##*.}" != mp4 ]; then
 elif [ -n "$foreign" ]; then
   _COOKIE[watch]=server
   videourl="${_GET[url]}"
-  watch_link="${_POST[return]}"
+  watch_link="${_GET[return]}"
 elif [ -z "$info" ]; then
   videourl="$(urlsafe "${location#/}")"
 else