Skip to content

Dont log warning for missing mime-typ if resource URL contains query params #5969

Description

@djmj

When in development stage, having a resource file like:

``<h:outputStylesheet library="css" name="theme.css?v=1"/>`

it logs message:

Warning: JSF1091: For file theme.css?v=1 no mime-type could be found.

This does not happen if there is no query string attached to the resource like a version param.

Idea:

The mime-type check should ignore everything starting from the question mark in the resource name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions