Index: branches/5.2.x/core/units/categories/categories_event_handler.php =================================================================== diff -u -N -r15861 -r16027 --- branches/5.2.x/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 15861) +++ branches/5.2.x/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 16027) @@ -1,6 +1,6 @@ status = kEvent::erSTOP; - $string = htmlspecialchars_decode($this->Application->GetVar('preview_content')); + $string = $this->Application->unescapeRequestVariable($this->Application->GetVar('preview_content')); $category_helper = $this->Application->recallObject('CategoryHelper'); /* @var $category_helper CategoryHelper */ @@ -2452,7 +2452,7 @@ $event->redirect = false; $search_table = TABLE_PREFIX.'ses_'.$this->Application->GetSID().'_'.TABLE_PREFIX.'Search'; - $keywords = htmlspecialchars_decode( trim($this->Application->GetVar('keywords')) ); + $keywords = $this->Application->unescapeRequestVariable(trim($this->Application->GetVar('keywords'))); $query_object = $this->Application->recallObject('HTTPQuery'); /* @var $query_object kHTTPQuery */ @@ -3137,4 +3137,4 @@ $object->SetDBField('ResourceId', 0); // this will reset it } - } \ No newline at end of file + }