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

Save images with extensions matching their mime type #154

Open
allenkinzalow opened this issue Sep 9, 2024 · 0 comments
Open

Save images with extensions matching their mime type #154

allenkinzalow opened this issue Sep 9, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@allenkinzalow
Copy link
Collaborator

Jagex consistently uses the incorrect file extensions for images. For example, an image might have a .jpg extension but .png mime type. Solution: when saving the images, check the mime type and save the image with a file extension matching the mime type.

This is problematic because the wiki file upload requires the extension to match the mime type.

@allenkinzalow allenkinzalow added the bug Something isn't working label Sep 9, 2024
@allenkinzalow allenkinzalow self-assigned this Sep 9, 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

When branches are created from issues, their pull requests are automatically linked.

1 participant