Skip to content

Any period causes regex match for mimetype #93

Closed
@CreativeNotice

Description

@CreativeNotice

When using a uri like /user/{username}/{password}/{appkey} where {username} happens to be an email address, the period in the resulting URL causes the regex in api.cfc to return a false positive and Taffy tries to use a string split at the address as the mime type.

api.convertURItoRegex() should be modified to allow period in the uri and be more deterministic when finding a passed mimetype extension.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions