Bug #45936
Respect open basedir during uploading of files
Status: | Resolved | Start date: | 2013-03-01 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 100% |
|
Category: | Resource | |||
Target version: | TYPO3 Flow Base Distribution - 2.0 | |||
PHP Version: | 5.3 | Complexity: | easy | |
Has patch: | No | Affected Flow version: | Git 2.0 |
Description
Currently when uploading files and using "open_basedir", you either have to change the "upload_tmp_dir" value or add the temporary folder to "open_basedir". Since the latter is not recommended for security reasons and for shared hosting environments the former can be impossible, it should work without having to do so since PHP allows for that.
Associated revisions
[BUGFIX] Handle open basedir properly during file upload
This solves the issues of uploading files when using open_basedir
restriction. Instead of having to add the temporary upload
directory (upload_tmp_dir) in the open_basedir configuration,
which is a bad idea, this ensures that it works even though the
open basedir restricts access to the temporary upload directory.
Make sure that the temporary upload directory is writable to test
this issue.
Change-Id: Ic7e91f0b8d3222119af356630c717d634d733fb8
Resolves: #45936
Releases: master, 2.0
[BUGFIX] Handle open basedir properly during file upload
This solves the issues of uploading files when using open_basedir
restriction. Instead of having to add the temporary upload
directory (upload_tmp_dir) in the open_basedir configuration,
which is a bad idea, this ensures that it works even though the
open basedir restricts access to the temporary upload directory.
Make sure that the temporary upload directory is writable to test
this issue.
Change-Id: Ic7e91f0b8d3222119af356630c717d634d733fb8
Resolves: #45936
Releases: master, 2.0
History
#1 Updated by Gerrit Code Review over 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18548
#2 Updated by Gerrit Code Review over 2 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18548
#3 Updated by Gerrit Code Review over 2 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18548
#4 Updated by Gerrit Code Review over 2 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18548
#5 Updated by Gerrit Code Review over 2 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18548
#6 Updated by Gerrit Code Review over 2 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18548
#7 Updated by Gerrit Code Review over 2 years ago
Patch set 7 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18548
#8 Updated by Gerrit Code Review over 2 years ago
Patch set 8 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18548
#9 Updated by Gerrit Code Review over 2 years ago
Patch set 9 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18548
#10 Updated by Gerrit Code Review over 2 years ago
Patch set 10 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18548
#11 Updated by Gerrit Code Review over 2 years ago
Patch set 1 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/20424
#12 Updated by Gerrit Code Review over 2 years ago
Patch set 2 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/20424
#13 Updated by Aske Ertmann over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 6fb381bc6665e65bd0b68dec8ee027c644188d86.