[BUGFIX] Fix usages of config.additionalHeaders 84/54484/5
authorMarkus Klein <markus.klein@typo3.org>
Fri, 27 Oct 2017 13:49:00 +0000 (15:49 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 30 Oct 2017 19:56:34 +0000 (20:56 +0100)
Update some internal usages of config.additionalHeaders in tests
and other places to use the correct new syntax.

Resolves: #82871
Releases: master, 8.7
Change-Id: I44868a736751647c3aa62bd5dc29f0bce5588c10
Reviewed-on: https://review.typo3.org/54484
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Configuration/TypoScript/setup.txt
typo3/sysext/extbase/Tests/Functional/Persistence/Fixtures/Frontend/ContentJsonRenderer.ts
typo3/sysext/extbase/Tests/Functional/Persistence/Fixtures/Frontend/JsonRenderer.ts
typo3/sysext/fluid/ext_typoscript_setup.txt

index 9cdb230..f930203 100644 (file)
@@ -8,7 +8,8 @@ config {
        sys_language_uid = 0
        sys_language_mode = ignore
        sys_language_overlay = 1
-       additionalHeaders = Content-Type: application/json; charset=utf-8
+       additionalHeaders.10.header = Content-Type: application/json; charset=utf-8
+       additionalHeaders.10.replace = 1
 
        watcher {
                tableFields {
@@ -264,4 +265,4 @@ config.sys_language_uid = 2
 [end]
 [globalVar = GP:L = 3]
 config.sys_language_uid = 3
-[end]
\ No newline at end of file
+[end]
index 5694579..5ce83c7 100644 (file)
@@ -56,7 +56,8 @@ tx_blogexample_plaintext {
                admPanel = 0
                no_cache = 1
                disableAllHeaderCode = 1
-               additionalHeaders = Content-Type: text/plain
+               additionalHeaders.10.header = Content-Type: text/plain
+               additionalHeaders.10.replace = 1
                defaultGetVars {
                        tx_blogexample_postlist.format = txt
                }
@@ -69,4 +70,4 @@ tx_blogexample_plaintext {
                10.pluginName = Pi1
                #config.defaultGetVars =
        }
-[end]
\ No newline at end of file
+[end]
index d6f57e6..b9cf140 100644 (file)
@@ -6,7 +6,8 @@ config {
        disableAllHeaderCode = 1
        sendCacheHeaders = 0
        sys_language_uid = 0
-       additionalHeaders = Content-Type: application/json; charset=utf-8
+       additionalHeaders.10.header = Content-Type: application/json; charset=utf-8
+       additionalHeaders.10.replace = 1
 }
 
 plugin.tx_blogexample {
index a6f5e96..332cf13 100644 (file)
@@ -8,7 +8,8 @@ config {
        sys_language_uid = 0
        sys_language_mode = ignore
        sys_language_overlay = 1
-       additionalHeaders = Content-Type: application/json; charset=utf-8
+       additionalHeaders.10.header = Content-Type: application/json; charset=utf-8
+       additionalHeaders.10.replace = 1
 }
 
 plugin.tx_blogexample {
index d007b2b..80f9b27 100644 (file)
@@ -6,7 +6,8 @@ fluidAjaxWidgetResponse {
        config {
                no_cache = 1
                disableAllHeaderCode = 1
-               additionalHeaders = Content-Type: text/plain
+               additionalHeaders.10.header = Content-Type: text/plain
+               additionalHeaders.10.replace = 1
                debug = 0
        }
        10 = USER_INT