Closed flleeppyy closed 5 months ago
That will be part of the problem, but the app also doesn't support anything higher than TLSv1.1 (if memory serves). You may need to consider that as part of fixing this. The way we deal with this now is by using HTTP-only to serve downloads to Anemone.
Added x-zip-compressed as an acceptable mime type since that's what Windows seems to default to when uploading zip files. The newer TLS versions issue is still and issue but not one that's in the scope of this ticket (and - frankly - not one I'm sure I plan on fixing).
Description When scanning a QR code that goes to a zip file that's not from Themeplaza, it fails with "ZIP not found at this URL, if you believe this is an error, please contact the site administrator"
Steps to reproduce
I uploaded a modified custom splash to my file share and I made a QR code for it but when I scan it with a 3DS, it doesn't work and gives the above error. http://safe.fleepy.tv/files/v0rylZWB.zip
I believe the problem is the Content-Type header. My web server, and various other IIS web servers, will respond with
application/x-zip-compressed
instead of justapplication/zip
The basic fix is to just add
; application/x-zip-compressed
to theacceptable_mime_types
when calling http_get here https://github.com/astronautlevel2/Anemone3DS/blob/adccc70cca848a0e4362676512cfae56b5256e83/source/camera.c#L336I don't want to make a pull request because I don't have the tools installed to build the project and see if it would even work, but someone who works on this project probably knows better than me.
System information System model new3DS XL
System firmware version 11.16.0-49U
Anemone3DS version v2.3.1
Luma3DS version v12.0.1