Project

General

Profile

Actions

Bug #98228

closed

Server Response on static files (php.txt)

Added by Phlipp Mandl about 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Security
Target version:
-
Start date:
2022-08-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
pending-close
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

Since update to 11.5.15

static server response has changed on php files.

The report shows (404): https:../typo3temp/assets/d647df84.tmp/bbac0463.php.txt

server configuration has not been changed.

<IfModule mod_mime.c>
RemoveType .html .htm

&lt;FilesMatch &quot;.+\.html?$&quot;&gt;
AddType text/html .html
AddType text/html .htm
&lt;/FilesMatch&gt;
RemoveType .svg .svgz
&lt;FilesMatch &quot;.+\.svgz?$&quot;&gt;
AddType image/svg+xml .svg
AddType image/svg+xml .svgz
&lt;/FilesMatch&gt;
RemoveType .php
RemoveHandler .php
&lt;FilesMatch &quot;.+\.php$&quot;&gt;
SetHandler x-httpd-opcache-php7.4
&lt;/FilesMatch&gt;
&lt;/IfModule&gt;
Actions #1

Updated by Oliver Hader about 2 years ago

  • Status changed from New to Needs Feedback

HTTP 404 means the resource is not accessible - probably some other configuration is blocking this request to https://example.org/typo3temp/assets/d647df84.tmp/bbac0463.php.txt now?

Actions #2

Updated by Phlipp Mandl about 2 years ago

The original response code is 406. I redirected it temporarily to 404 in order to have no server side bad response.

Actions #3

Updated by Phlipp Mandl about 2 years ago

Any update on this?

Actions #4

Updated by Oliver Hader about 2 years ago

I could not reproduce and therefore not help with fixing it...
Besides that, I was not able to find any occurrence of HTTP 406 in the TYPO3 core - this seems to be a custom setting.

Actions #5

Updated by Oliver Hader about 2 years ago

The complexity was set to "no-brainer". Please describe the possible change in case it is so obvious. Thx!

Actions #6

Updated by Oliver Hader about 2 years ago

  • Tags set to pending-close
Actions #7

Updated by Riccardo De Contardi over 1 year ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (Oliver Hader)
  • Target version deleted (Candidate for Major Version)

No feedback since more than 90 days => closing this issue.

If you think that this is the wrong decision or think that there is still work to be done here, please reopen it or open a new issue with a reference to this one.

Thank you and best regards

Actions

Also available in: Atom PDF