-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Quota bypassed when uploading with chunked transfer encoding #7993
Comments
@rullzer Mind to test this one? |
Still valid? |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
Let us know what information is missing to reproduce. |
@dkocher you're still able to reproduce this issue on latest nextcloud stable ? |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
@skjnldsv There is no reason to believe this has been fixed in a later version. |
@nextcloud-bot Please reopen this issue. |
@skjnldsv Auto closing reported bugs with steps to reproduce provided is not gentle and will discourage future bug reports. |
curl command for op step 2:
See that |
Note that this problem my depend on the server configuration. Nextcloud on a Hetzner Storage Box seems to properly return a 507 error. Or this may have been fixed in a more recent version of Nextcloud. |
Nextcloud has a bug that lets us write chunked transfers over quota: nextcloud/server#7993 However, when we upload small files, we can get the proper 507 response and thus detect out of space situations and warn the user about them.
Nextcloud has a bug that lets us write chunked transfers over quota: nextcloud/server#7993 However, when we upload small files, we can get the proper 507 response and thus detect out of space situations and warn the user about them.
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
When uploading a file with chunked transfer encoding (https://en.wikipedia.org/wiki/Chunked_transfer_encoding) the quota check is bypassed and you can upload as many bytes over the quota as you want .
Steps to reproduce
Expected behaviour
Server should reply with a 507 response
Actual behaviour
File can be uploaded
Server configuration
Operating system:
Ubuntu 16
Web server:
nginx 1.10.3
Database:
MariaDB
PHP version:
7.0
Nextcloud version: (see Nextcloud admin page)
12.0.4
Updated from an older Nextcloud/ownCloud or fresh install:
Fresh
Where did you install Nextcloud from:
Official download
Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No
The text was updated successfully, but these errors were encountered: