-
-
Notifications
You must be signed in to change notification settings - Fork 170
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
Deprecation Warning: urldecode() #5895
Comments
I've tried to replicate it but I cannot reproduce the deprecation notice. |
For me, it happens on any project I'm trying localhost:8000//panel for example. I expect to get the home page but IDK what's up with this deprecation notice. If you have any ideas on how to test this further, I'm eager to try out |
I can reproduce this with the built-in PHP server.
|
Description
I found this by mistake when I've added two slashes or more after localhost:8000 and followed by a page (ex. localhost:8000//panel)
When two slashes are added I get this deprecated warning:
Deprecated: urldecode(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Users\bogda\OneDrive\Projects\htdocs\double-check\vendor\getkirby\cms\router.php on line 3
When more than two slashes are added I get this deprecated notice:
Deprecated: Automatic conversion of false to array is deprecated in C:\Users\bogda\OneDrive\Projects\htdocs\double-check\vendor\getkirby\cms\src\Http\Uri.php on line 114
Expected behavior
I gues it should not show any errors or correct the url maybe??
To reproduce
Your setup
Kirby Version
3.9.7
Console output
nothing relevant
Your system (please complete the following information)
Additional context
I've tested on other projects and the errors are to be reproduced only on local dev and not on production.
Edit: I've tested this on a starterkit with v4 and it still happens
The text was updated successfully, but these errors were encountered: