summaryrefslogtreecommitdiff
path: root/www/history.php
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-29 09:05:37 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-29 09:05:37 +0000
commit45feef9f6bdae1f2ed9c386ace5f47f012526a4a (patch)
tree241b06e377a4edda08d31b2d2569c41d780dfe72 /www/history.php
parent5b91086b54061501d8c74d3ec75e03a920d33587 (diff)
downloadsemanticscuttle-45feef9f6bdae1f2ed9c386ace5f47f012526a4a.tar.gz
semanticscuttle-45feef9f6bdae1f2ed9c386ace5f47f012526a4a.tar.bz2
fix several XSS injection problems with page variable
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@468 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'www/history.php')
-rw-r--r--www/history.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/history.php b/www/history.php
index fa1c535..42688a0 100644
--- a/www/history.php
+++ b/www/history.php
@@ -48,7 +48,7 @@ if ($usecache) {
// Pagination
$perpage = getPerPageCount($currentUser);
if (intval(GET_PAGE) > 1) {
- $page = GET_PAGE;
+ $page = intval(GET_PAGE);
$start = ($page - 1) * $perpage;
} else {
$page = 0;