rm ${_DATA}/cache/taglist_set ${_DATA}/cache/taglist_filter 2>/dev/null
fi
-redirect "${HTTP_REFERER:-?i=&pn=${page}&s=${search}&f=${filter}&o=${order}#${info}}"
+redirect "${_POST[referrer]:-?i=&pn=${page}&s=${search}&f=${filter}&o=${order}#${info}}"
set_cookie '+ 1 month' "watch=${watch}" HttpOnly
set_cookie '+ 1 month' "pagesize=${pagesize}" HttpOnly
-redirect "$HTTP_REFERER"
+redirect "$_POST[referrer]"
<input type=radio name=topmenu id=btn_playctl><label for=btn_playctl>Audio</label>
<form class="panel switchable top playctl" id="advctl" action="?action=playctl" method="post">
+ <input type="hidden" name="referrer" value="$(attribsafe "${REQUEST_URI}")">
<fieldset class="volume">
<button type="submit" name="amp" value="off">Amp Off</button>
<button type="submit" name="amp" value="on">Amp On</button>
<a href="$video">Download</a>
<form action="?action=playctl" method="post" class="playctl">
+ <input type="hidden" name="referrer" value="$(attribsafe "${REQUEST_URI}")">
<fieldset class="playback">
<button type="submit" name="seek" value="-60"><<<</button>
<button type="submit" name="seek" value="-10"><<</button>
</div>
<form class="panel switchable bottom" id="tagger" action="?action=meta&${page_this}" method="post" accept-charset="UTF-8">
+ <input type="hidden" name="referrer" value="$(attribsafe "${REQUEST_URI}")">
<input type="hidden" name="length" value="$length">
<input type="hidden" name="width" value="$width">
<input type="hidden" name="height" value="$height">
<input type="number" name="pagesize" value="${pagesize}" id="n_pagesize">
</fieldset>
+ <input type="hidden" name="referrer" value="$(attribsafe ${REQUEST_URI})">
<input type="submit" value="Set Cookie!">
</form>
EOF
</div>
<form class="panel switchable bottom" id="tagger" action="?action=meta&${page_this}" method="post" accept-charset="UTF-8">
+ <input type="hidden" name="referrer" value="$(attribsafe "${REQUEST_URI}")">
<input type="hidden" name="length" value="$length">
<input type="hidden" name="width" value="$width">
<input type="hidden" name="height" value="$height">