puter icon indicating copy to clipboard operation
puter copied to clipboard

Can't download file

Open Zac0511 opened this issue 1 year ago • 4 comments

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

  • [x] 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)

Zac0511 avatar May 17 '24 16:05 Zac0511

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

jelveh avatar May 18 '24 17:05 jelveh

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

Yes, i still can't download any file.

Zac0511 avatar May 18 '24 17:05 Zac0511

Its working now, it got fixed

Zac0511 avatar May 28 '24 17:05 Zac0511

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 avatar Jun 05 '24 10:06 AtkinsSJ

Fixed for good! currently available in self-hosted. Will be pushed to puter.com later on.

jelveh avatar Jul 18 '24 23:07 jelveh