Skip to content

Route is matching partial string #38

@gpoitch

Description

@gpoitch

Given 2 'host' routes "me" and "home":

self.router[@"me"] = ^(DPLDeepLink *link) { .. }
self.router[@"home"] = ^(DPLDeepLink *link) { .. }

entering via [protocol]://home actually matches the first handler for "me" (since ho[me])

This can be worked around by swapping the order of the route handlers, but I figured it would be a good thing to fix the matching regexp.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions