Skip to content

Commit

Permalink
Fixed issue #7827: Ampersands in end url are encoded for non-admins
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed May 14, 2013
1 parent d6372ee commit 992c49a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/database.php
Expand Up @@ -922,7 +922,7 @@ function index($sa = null)
$welcome=$purifier->purify(Yii::app()->request->getPost('welcome_'.$langname));
$endtext=$purifier->purify(Yii::app()->request->getPost('endtext_'.$langname));
$sURLDescription=$purifier->purify(Yii::app()->request->getPost('urldescrip_'.$langname));
$sURL=$purifier->purify(Yii::app()->request->getPost('url_'.$langname));
$sURL = html_entity_decode($purifier->purify(Yii::app()->request->getPost('url_'.$langname)),null,'UTF-8');
}
else
{
Expand Down

1 comment on commit 992c49a

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to review all this purify if it's stille needed ... models:rules have to do the job (but use ->save()

:)

Please sign in to comment.