Skip to content

Requesting a static file with an extension crow doens't know about causes an uncaught exception #410

@danielskeenan

Description

@danielskeenan

Asking crow to respond to a static file request using crow::response::set_static_file_info causes an uncaught std::out_of_range exception if the file's extension is not one crow knows about (i.e. not in crow::mime_types).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issuean issue suitable to start contributing to the project

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions