Skip to content

Unexected (and inconsistent) insertion conflict on prefix+suffix parameter #92

@AMDmi3

Description

@AMDmi3

While this works:

router.insert("/a{b}", "1").unwrap();
router.insert("/a{b}/", "2").unwrap();

the same routes in different order lead to a conflict:

router.insert("/a{b}/", "2").unwrap();
router.insert("/a{b}", "1").unwrap();

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