Project

General

Profile

Actions

Bug #56923

closed

ResourceStorage::dumpFileContents() filename in header needs improvement

Added by Frans Saris about 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2014-03-14
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

In ResourceStorage::dumpFileContents() a Content-Disposition header is sent but the filename isn't between double quoutes. this is needed because the filename can contain spaces.

Further should the Content-Dispositon header also send when $asDownload isn't set. Then with value "inline" see http://tools.ietf.org/html/rfc6266.
This to have the correct filename when you try to save the dumped file.

Actions #1

Updated by Gerrit Code Review about 10 years ago

  • Status changed from New 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/28399

Actions #2

Updated by Gerrit Code Review about 10 years 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/28399

Actions #3

Updated by Frans Saris about 10 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF