]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
fix bad sort= xss in bookmarks.tpl
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Thu, 29 Oct 2009 09:05:56 +0000 (09:05 +0000)
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Thu, 29 Oct 2009 09:05:56 +0000 (09:05 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@469 b3834d28-1941-0410-a4f8-b48e95affb8f

data/templates/bookmarks.tpl.php

index e14ff2dc265eca11169df4756da74767f8522203..0e49e03cfa43bf513911914746251591363771d5 100644 (file)
@@ -163,7 +163,7 @@ if($currenttag!= '') {
        // Ordering
        $sortOrder = '';
        if (GET_SORT != '') {
-               $sortOrder = 'sort='. GET_SORT;
+               $sortOrder = 'sort=' . getSortOrder();
        }
 
        $sortAmp = (($sortOrder) ? '&amp;'. $sortOrder : '');