From cbf9b3a2772c7ec14c3323a529e89caa628ee523 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Fri, 19 Dec 2014 22:15:09 +0300 Subject: [PATCH] Fixed potential security issues --- src/www/themes/oldpiratebay/views/layouts/head.php | 2 +- src/www/themes/oldpiratebay/views/main/categories.php | 4 ++-- src/www/themes/oldpiratebay/views/main/index.php | 2 +- src/www/themes/oldpiratebay/views/main/view.php | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/www/themes/oldpiratebay/views/layouts/head.php b/src/www/themes/oldpiratebay/views/layouts/head.php index 7d669a3..a562746 100644 --- a/src/www/themes/oldpiratebay/views/layouts/head.php +++ b/src/www/themes/oldpiratebay/views/layouts/head.php @@ -2,7 +2,7 @@ - <?= $this->pageTitle; ?> + <?= CHtml::encode($this->pageTitle); ?>