Commits

Christoffer Niska committed ae8e736

added normalization for navbar brand url (fixes #104)

Comments (0)

Files changed (1)

widgets/TbNavbar.php

 			if (!isset($this->brandUrl))
 				$this->brandUrl = Yii::app()->homeUrl;
 
-			$this->brandOptions['href'] = $this->brandUrl;
+			$this->brandOptions['href'] = CHtml::normalizeUrl($this->brandUrl);
 
 			if (isset($this->brandOptions['class']))
 				$this->brandOptions['class'] .= ' brand';