[TASK] Update redirect html files to HTML5 23/57723/4
authorJosef Glatz <josefglatz@gmail.com>
Sun, 29 Jul 2018 20:59:16 +0000 (22:59 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Mon, 30 Jul 2018 09:53:38 +0000 (11:53 +0200)
This patch updates file templates from HTML 3.2
to HTML5 markup.

Resolves: #85682
Releases: master
Change-Id: I22fa9b6e4f0e84fbc94d8d282f82594ffd3d8be9
Reviewed-on: https://review.typo3.org/57723
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jörg Bösche <typo3@joergboesche.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/install/Classes/Service/SessionService.php
typo3/sysext/install/Resources/Private/FolderStructureTemplateFiles/fileadmin-temp-index.html

index d5eec31..a26a939 100644 (file)
@@ -148,9 +148,9 @@ class SessionService implements SingletonInterface
 </IfModule>
                        ';
             GeneralUtility::writeFile($sessionSavePath . '/.htaccess', $htaccessContent);
-            $indexContent = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">';
-            $indexContent .= '<HTML><HEAD<TITLE></TITLE><META http-equiv=Refresh Content="0; Url=../../">';
-            $indexContent .= '</HEAD></HTML>';
+            $indexContent = '<!DOCTYPE html>';
+            $indexContent .= '<html><head><title></title><meta http-equiv=Refresh Content="0; Url=../../"/>';
+            $indexContent .= '</head></html>';
             GeneralUtility::writeFile($sessionSavePath . '/index.html', $indexContent);
         }
     }
index ee50c6a..283cf82 100644 (file)
@@ -1,7 +1,7 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<HTML>
-<HEAD>
-       <TITLE></TITLE>
-<META http-equiv=Refresh Content="0; Url=/">
-</HEAD>
-</HTML>
\ No newline at end of file
+<!DOCTYPE html>
+<html>
+<head>
+       <title></title>
+       <meta http-equiv=Refresh Content="0; Url=/"/>
+</head>
+</html>