[BUGFIX] Properly escape <> in Install Tool Check. 25/52925/3
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:34:55 +0000 (11:34 +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/52925
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
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();