Skip to content

FileTypeResolver should ignore query parameters when determining file type #961

@vaadin-bot

Description

@vaadin-bot

Originally by @Artur-


FileTypeResolver should use the extension of the file and ignore any query parameters when resolving the mime type. For example "/test.swf?param1=value1&param2=value2" should use "swf" for mime type detection and not "swf?param1=value1&param2=value2".

Split from #4020


Imported from https://dev.vaadin.com/ issue #4064

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions