typo3/sysext/frontend/Classes/Page/PageGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/frontend/Classes/Page/PageGenerator.php b/typo3/sysext/frontend/Classes/Page/PageGenerator.php index 9484c3c..3ff31b4 100644 --- a/typo3/sysext/frontend/Classes/Page/PageGenerator.php +++ b/typo3/sysext/frontend/Classes/Page/PageGenerator.php @@ -113,7 +113,7 @@ class PageGenerator { $space = !empty($GLOBALS['TSFE']->config['config']['sword_standAlone']) ? '[[:space:]]' : ''; foreach ($GLOBALS['TSFE']->sWordList as $val) { if (strlen(trim($val)) > 0) { - $GLOBALS['TSFE']->sWordRegEx .= $space . quotemeta($val) . $space . '|'; + $GLOBALS['TSFE']->sWordRegEx .= $space . str_replace('/', '\/',quotemeta($val)) . $space . '|'; } } $GLOBALS['TSFE']->sWordRegEx = preg_replace('/\\|$/', '', $GLOBALS['TSFE']->sWordRegEx);