Skip to content

Requests should be matched based on "path info" #262

Open
@Rican7

Description

@Rican7

Currently, requests are being matched based on their REQUEST_URI. This requires some special server environment handling and is actually not the ideal path to be checking during routing behavior.

Most routing libraries actually route based on a request's PATH_INFO, which can be pre-processed by PHP or the FGCI proxy server.

Unfortunately, the PATH_INFO request/environment variable can be a little strange under certain configurations, so it would probably be a good idea to use it as a primary and then fall back to the old REQUEST_URI if need be.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions