]> git.plutz.net Git - serve0/blobdiff - pages/list.sh
introduced player preferences
[serve0] / pages / list.sh
index 9cf7e6faeb6a544ce4e52b1c12cdde81eda79b74..32b4b94dd4825d4812788e65d799fc48dfd5c481 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/>. 
 
+cgi_cookie
 . $_EXEC/pages/common.sh
 
-filters="$(echo -E "$_GET[\"f\"]" |sed -r 's;^!*\^*;;; s;\^*!*$;;; s;!+;!;g; s;\^+;^;g')"
+filters="$(printf %s "${_GET[f]}" |sed -r 's;^!*\^*;;; s;\^*!*$;;; s;!+;!;g; s;\^+;^;g')"
 debug "FILTERS: $filters"
 
 quicklinks(){