Skip to content

Route /download/1.5.1 doesn't work with decimal numbers  #45

@kangarko

Description

@kangarko

This code:

Routes::map('blog/:name', function($params) {
    die("Name: " . $params['name']);
});

Will work with blog/hey and blog/1 but not with blog/1.5.1

How can I fix this please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions