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

Bug: /test.php show home page #4263

Closed
samsonasik opened this issue Feb 11, 2021 · 1 comment · Fixed by #4265
Closed

Bug: /test.php show home page #4263

samsonasik opened this issue Feb 11, 2021 · 1 comment · Fixed by #4265
Labels
bug Verified issues on the current code behavior or pull requests that will fix them

Comments

@samsonasik
Copy link
Member

Describe the bug

It seems the route doesn't handle "." even it registered in the route config.

CodeIgniter 4 version

latest develop and 4.1.1

Affected module(s)
Router

Expected behavior, and steps to reproduce if appropriate

It shows 404 page or show the page if route is registered.

  1. Run spark serve
php spark serve
  1. open browser http://localhost:8080/test.php

Context

  • OS: MacOS Big Sur
  • Web server Apache
  • PHP version 8.0.2
@samsonasik samsonasik added the bug Verified issues on the current code behavior or pull requests that will fix them label Feb 11, 2021
@samsonasik
Copy link
Member Author

update: it seems only .php that throw to welcome page (home page).

samsonasik added a commit to samsonasik/CodeIgniter4 that referenced this issue Feb 12, 2021
samsonasik added a commit to samsonasik/CodeIgniter4 that referenced this issue Feb 12, 2021
lonnieezell added a commit that referenced this issue Feb 12, 2021
Fixes #4263: Fixes /*.php shows home page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified issues on the current code behavior or pull requests that will fix them
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant