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

Dropzone and LFM don't agree on filesize limit #1254

Open
Samvdg opened this issue Feb 26, 2025 · 0 comments
Open

Dropzone and LFM don't agree on filesize limit #1254

Samvdg opened this issue Feb 26, 2025 · 0 comments

Comments

@Samvdg
Copy link

Samvdg commented Feb 26, 2025

Expected Behavior

When having set a limit on LFM, Dropzone also listens to this limit and doesn't allow files to go through the back-end exceeding this limit by marginal amounts

Actual Behavior

When having a marginal difference (say between 0-100kb) Dropzone somehow accepts this like a leanient teacher accepting a vague answer on a quiz because she's tired. "hmmm close enough" vibes

Steps to Reproduce the Problem

  1. Set limit in php.ini to 2m
  2. Set limit in LFM config to 2048
  3. Upload file of 2091kb
  4. The error message should not be the one on the right in the given image below

Sidenote: Could you make sure dropzone errors are not coming through but instead the proper translated errors of LFM? It'd be a lot more.. expected

Image

Specifications

  • Operating system : Windows 10
  • Laravel version : 9
  • Package version : 2.9.1
  • Screenshots of browser console : not applicable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant