Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kangarko opened this issue Aug 18, 2023 · 0 comments
Open

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

kangarko opened this issue Aug 18, 2023 · 0 comments

Comments

@kangarko
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant