Skip to content

Request with a dot (".") inside a Custom Route paramter returns a 404 (not found) exception #23

Description

@BartChris

Hi there,

we are encountering an error when we put dots (".") in our route parameters. Is it allowed to do that?

What are the steps to reproduce this issue?

  1. Define a custom Route in Lumberjack, with a Route Parameter
  2. Pass a route paramter which contains a dot

`
Router::get('posts/{id}', function($id) {

});
Call URL
/posts/a.b.c
`

What happens?

Server returns 404

What were you expecting to happen?

Server returns the correct page

What versions of software are you using?

Operating System: Debian Buster

PHP Version: PHP 7.4

Lumberjack Version: 5.0.0

Thank you for your support!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions