[BUGFIX] Properly escape <> in Install Tool Check. 44/52944/2
authorGeorg Ringer <georg.ringer@gmail.com>
Wed, 24 May 2017 05:47:12 +0000 (07:47 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Fri, 26 May 2017 09:43:29 +0000 (11:43 +0200)
Escape the < > in the check of the Windows Apache ThreadStackSize.

Resolves: #81134
Releases: master, 8.7
Change-Id: Iaa73e61438766f413ba7aeeaebac0fcbf41f1a99
Reviewed-on: https://review.typo3.org/52944
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
typo3/sysext/install/Classes/SystemEnvironment/Check.php

index 7760796..cffea82 100644 (file)
@@ -951,9 +951,9 @@ class Check implements CheckInterface
                 ' On Windows the default stack size for Apache is a lot smaller than on UNIX.' .
                 ' You can increase the size to 8MB (default on UNIX) by adding the following configuration' .
                 ' to httpd.conf and restarting Apache afterwards:' . LF .
-                '<IfModule mpm_winnt_module>' . LF .
+                '&lt;IfModule mpm_winnt_module&gt;' . LF .
                 'ThreadStackSize 8388608' . LF .
-                '</IfModule>'
+                '&lt;/IfModule&gt;'
             );
         } else {
             $status = new Status\OkStatus();