head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.6 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.4 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.2 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.1.0.2; locks; strict; comment @# @; 1.2 date 2011.11.08.12.15.54; author taca; state dead; branches; next 1.1; 1.1 date 2011.10.10.16.35.36; author taca; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2011.10.10.16.35.36; author tron; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2011.10.10.18.21.57; author tron; state Exp; branches; next ; desc @@ 1.2 log @Remove typolight28 packages, please migrate to contao210 package now. @ text @$NetBSD: patch-system_modules_frontend_ModuleArticlenav.php,v 1.1 2011/10/10 16:35:36 taca Exp $ * Fix potential XSS vulnerability, r1044. --- system/modules/frontend/ModuleArticlenav.php.orig 2009-11-21 12:49:18.000000000 +0000 +++ system/modules/frontend/ModuleArticlenav.php @@@@ -91,7 +91,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:21:57 +0000 @ text @d1 15 @ 1.1.2.2 log @Pullup ticket #3553 - requested by taca www/typolight28: security patch Revisions pulled up: - www/typolight28/Makefile 1.16 - www/typolight28/distinfo 1.12 - www/typolight28/patches/patch-ad 1.3 - www/typolight28/patches/patch-system_libraries_Input.php 1.1 - www/typolight28/patches/patch-system_modules_frontend_ModuleArticlenav.php 1.1 --- Module Name: pkgsrc Committed By: taca Date: Mon Oct 10 16:35:36 UTC 2011 Modified Files: pkgsrc/www/typolight28: Makefile distinfo pkgsrc/www/typolight28/patches: patch-ad Added Files: pkgsrc/www/typolight28/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 2009-11-21 12:49:18.000000000 +0000 +++ system/modules/frontend/ModuleArticlenav.php @@@@ -91,7 +91,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)); } @