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

$request->getContents() incorrect payload #1421

Open
JessedeB opened this issue Jun 13, 2023 · 0 comments
Open

$request->getContents() incorrect payload #1421

JessedeB opened this issue Jun 13, 2023 · 0 comments

Comments

@JessedeB
Copy link

JessedeB commented Jun 13, 2023

After making a delete method to delete an image from storage html is added to the payload.

Temporary fix:

After disabling the debugbar, the image was being able to deleted.

Steps to reproduce:

  1. Create a file upload
  2. Make a file deletion method
  3. Delete the file while using $request->getContents()
  4. The file isn't being able to deleted because of an incorrect payload.
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