Skip to content

test: add failing image/svg+xml test case #13206

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

philipp-tailor
Copy link
Contributor

@philipp-tailor philipp-tailor commented Jul 17, 2025

Seemingly as of 6d1a287, SVG files with the opening <xml> line are misrecognized as application/xml, preventing their upload in collections with mimeType: 'image/svg+xml'. This was still working with 3.46.0.

This PR adds a failing test to encourage a fix, and to prevent future regressions.

Seemingly as of 6d1a287, SVG files
with the opening `<xml>` line are misrecognized as `application/xml`,
preventing their upload in collections with `mimeType: 'image/svg+xml'`.

This test is added to encourage a fix (e.g. by replacing the dependency),
and to prevent future regressions.
@philipp-tailor philipp-tailor changed the title test: add failing test case test: add failing image/svg+xml test case Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant