Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Add URL templates match by extension #745

@BbIKTOP

Description

@BbIKTOP

Since regex is not working, is it possible at least to add url match by extension? Like this:

diff WebHandlerImpl.h WebHandlerImpl.h.orig
108,115d107
<       if (_uri.length() && _uri.startsWith("/*.")) {
<         String uriTemplate = String (_uri);
<         uriTemplate = uriTemplate.substring(uriTemplate.lastIndexOf("."));
<         if (!request->url().endsWith(uriTemplate))
<           return false;
<       }
<       else

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions