Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove upload_limit in files app as it is not needed with PUT upload #26069

Merged
merged 1 commit into from
Sep 19, 2016

Conversation

PVince81
Copy link
Contributor

@PVince81 PVince81 commented Sep 8, 2016

Description

Remove upload_limit in the files app as it's not needed any more.

Related Issue

Part of #26067

Motivation and Context

The web UI now uses for PUT uploads (see #21237) which aren't restricted by PHP's
upload_max_filesize and post_max_size. Cleaning this up removes additional unneeded logic and also prepares for #26067

How Has This Been Tested?

Edit .htaccess and set upload_max_filesize and post_max_size to 5MB.
Upload a 30 MB file in the files app.
Create a public link with edit permissions and upload a file there.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Cleanup / tech debt

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Note: I kept the admin page part because there might be third party apps still using the POST approach, so an admin should still be able to set a value.

@DeepDiver1975 @guruz

@PVince81 PVince81 added this to the 9.2 milestone Sep 8, 2016
@mention-bot
Copy link

@PVince81, thanks for your PR! By analyzing the annotation information on this pull request, we identified @ogasser, @butonic and @LukasReschke to be potential reviewers

The web UI now uses for PUT uploads which aren't restricted by PHP's
upload_max_filesize and post_max_size
@PVince81
Copy link
Contributor Author

Rebased, please review

@DeepDiver1975
Copy link
Member

tested 👍

@DeepDiver1975 DeepDiver1975 merged commit 435a5fc into master Sep 19, 2016
@DeepDiver1975 DeepDiver1975 deleted the kill-uploadlimit branch September 19, 2016 19:29
butonic pushed a commit that referenced this pull request Jan 18, 2017
…26069)

The web UI now uses for PUT uploads which aren't restricted by PHP's
upload_max_filesize and post_max_size
@lock
Copy link

lock bot commented Aug 4, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants