Bug #83703

Protect ext_typoscript_setup.typoscript ext_typoscript_constants.typoscript

Added by Jan Kiesewetter 7 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-01-28
Due date:
% Done:

100%

TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

As ext_typoscript_setup.typoscript ext_typoscript_constants.typoscript are recommended, they should not be accessible throw the webserver.
Therefore the _.htaccess and _web.config should have rules to deny them.

Associated revisions

Revision a37c3ea5 (diff)
Added by Tymoteusz Motylewski 6 months ago

[TASK] Block access to .typoscript files

As .typoscript is the preferred file ending for TypoScript files,
this should be reflected in the .htaccess access rules as well.

Change-Id: If894d831afb5fd7e3ed1c098023111b82cde124f
Resolves: #83703
Releases: 7.6
Reviewed-on: https://review.typo3.org/55626
Tested-by: TYPO3com <>
Reviewed-by: Oliver Klee <>
Reviewed-by: Reiner Teubner <>
Reviewed-by: Mathias Schreiber <>
Tested-by: Mathias Schreiber <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Oliver Hader 7 months ago

  • Status changed from New to Accepted
  • TYPO3 Version changed from 9 to 7

#2 Updated by Gerrit Code Review 7 months ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55485

#3 Updated by Gerrit Code Review 7 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55485

#4 Updated by Tymoteusz Motylewski 6 months ago

Protection for v8 and v9 was added in this patch - https://review.typo3.org/50096
I've tested it with Apache and worked fine.
I'll push a patch for v7.

#5 Updated by Gerrit Code Review 6 months ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55626

#6 Updated by Tymoteusz Motylewski 6 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF