head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.1.0.4 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.2; locks; strict; comment @# @; 1.2 date 2012.03.22.14.56.21; author taca; state dead; branches; next 1.1; 1.1 date 2011.10.10.16.35.11; author taca; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2011.10.10.16.35.11; author tron; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2011.10.10.18.03.11; author tron; state Exp; branches; next ; desc @@ 1.2 log @Remove contao29. Please switch to contao211 (or contao210). @ text @$NetBSD: patch-system_modules_frontend_ModuleArticlenav.php,v 1.1 2011/10/10 16:35:11 taca Exp $ * Fix potential XSS vulnerability, r1044. --- system/modules/frontend/ModuleArticlenav.php.orig 2011-03-02 13:03:27.000000000 +0000 +++ system/modules/frontend/ModuleArticlenav.php @@@@ -93,7 +93,7 @@@@ class ModuleArticlenav extends Module return ''; } - $strAlias = (strlen($this->objArticles->alias) && !$GLOBALS['TL_CONFIG']['disableAlias']) ? $this->objArticles->alias : $this->objArticles->id; + $strAlias = ($this->objArticles->alias != '' && !$GLOBALS['TL_CONFIG']['disableAlias']) ? $this->objArticles->alias : $this->objArticles->id; $this->redirect($this->addToUrl('articles=' . $strAlias)); } @ 1.1 log @Add update patche to fix XSS from Contao's repository. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.1.2.1 log @file patch-system_modules_frontend_ModuleArticlenav.php was added on branch pkgsrc-2011Q3 on 2011-10-10 18:03:11 +0000 @ text @d1 15 @ 1.1.2.2 log @Pullup ticket #3551 - requested by taca www/contao29: security patch Revisions pulled up: - www/contao29/Makefile 1.18 - www/contao29/distinfo 1.11 - www/contao29/patches/patch-system_libraries_Input.php 1.1 - www/contao29/patches/patch-system_modules_frontend_Frontend.php 1.2 - www/contao29/patches/patch-system_modules_frontend_ModuleArticlenav.php 1.1 --- Module Name: pkgsrc Committed By: taca Date: Mon Oct 10 16:35:11 UTC 2011 Modified Files: pkgsrc/www/contao29: Makefile distinfo pkgsrc/www/contao29/patches: patch-system_modules_frontend_Frontend.php Added Files: pkgsrc/www/contao29/patches: patch-system_libraries_Input.php patch-system_modules_frontend_ModuleArticlenav.php Log Message: Add update patche to fix XSS from Contao's repository. Bump PKGREVISION. @ text @a0 15 $NetBSD$ * Fix potential XSS vulnerability, r1044. --- system/modules/frontend/ModuleArticlenav.php.orig 2011-03-02 13:03:27.000000000 +0000 +++ system/modules/frontend/ModuleArticlenav.php @@@@ -93,7 +93,7 @@@@ class ModuleArticlenav extends Module return ''; } - $strAlias = (strlen($this->objArticles->alias) && !$GLOBALS['TL_CONFIG']['disableAlias']) ? $this->objArticles->alias : $this->objArticles->id; + $strAlias = ($this->objArticles->alias != '' && !$GLOBALS['TL_CONFIG']['disableAlias']) ? $this->objArticles->alias : $this->objArticles->id; $this->redirect($this->addToUrl('articles=' . $strAlias)); } @