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

Can't download file #409

Open
1 of 4 tasks
Zac0511 opened this issue May 17, 2024 · 4 comments
Open
1 of 4 tasks

Can't download file #409

Zac0511 opened this issue May 17, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Zac0511
Copy link
Contributor

Zac0511 commented May 17, 2024

Issue Description
When i try to download a file, i get a JSON file instead. By downloading image.png, i get image.png.json

Steps to Reproduce
Download any file from Puter

Expected & Actual Behavior
Get the actual file on my computer

Addition Information or Screenshots (if applicable)
The JSON file that i get contains the following :
{"message":"incorrect anti-CSRF token"}

Deployment

  • Production (puter.com)
  • Development (npm run start)
  • Docker (via docker run)
  • Docker (via docker-compose)

Puter version
2.1.0 (Deployed: 17/05/2024 01:16:23)

@jelveh
Copy link
Contributor

jelveh commented May 18, 2024

@Zac0511 are you still having this issue? I can't reproduce it.

@Zac0511
Copy link
Contributor Author

Zac0511 commented May 18, 2024

@Zac0511 are you still having this issue? I can't reproduce it.

Yes, i still can't download any file.

@Zac0511
Copy link
Contributor Author

Zac0511 commented May 28, 2024

Its working now, it got fixed

@Zac0511 Zac0511 closed this as completed May 28, 2024
@AtkinsSJ
Copy link
Collaborator

AtkinsSJ commented Jun 5, 2024

I think this is back, at least in the repo version.

  • Right click on a directory and choose "Download" -> works fine.
  • Right click on a file and choose "Download" -> file contents are just {"message":"incorrect anti-CSRF token"}

EDIT: It works fine on puter.com as far as I can tell. So just the repo version.

@AtkinsSJ AtkinsSJ reopened this Jun 5, 2024
@AtkinsSJ AtkinsSJ added the bug Something isn't working label Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants