PluginProbe
Extendify / trunk
Extendify vtrunk
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
← All changes | app/Assist/Controllers/DomainsSuggestionController.php +5 -1 3.1.3 → trunk View file →
@@ -118,9 +118,13 @@
118 118 * @return string
119 119 */
120 120 public static function cleanSiteTitle($siteTitle)
121 121 {
122 - return trim(preg_replace('/[^\p{L}\p{N}\s\-]+/u', '', html_entity_decode($siteTitle)));
122 + return trim(preg_replace(
123 + '/[^\p{L}\p{N}\s\-]+/u',
124 + '',
125 + html_entity_decode($siteTitle, ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401)
126 + ));
123 127 }
124 128
125 129 /**
126 130 * Check if the site Title is part of the blocked list.