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

Always assert request URL path starts with '/' #2110

Merged
merged 5 commits into from
Sep 18, 2023

Conversation

mvorisek
Copy link
Member

@mvorisek mvorisek commented Sep 18, 2023

normally, request is created from $_SERVER, $_GET, ... globals (or passed explicitly) and thus this PR should have no effect on developer

fixes TODO in App::url

App::$request should be readonly, thus checking in the App constructor should be enough

@mvorisek mvorisek force-pushed the no_get_mutate_in_testing branch 4 times, most recently from 5c559f7 to 31cd75c Compare September 18, 2023 16:49
@mvorisek mvorisek force-pushed the no_get_mutate_in_testing branch 2 times, most recently from 35aed49 to a61cf9e Compare September 18, 2023 17:34
@mvorisek mvorisek marked this pull request as ready for review September 18, 2023 17:41
@mvorisek mvorisek merged commit 1d6804f into develop Sep 18, 2023
54 checks passed
@mvorisek mvorisek deleted the no_get_mutate_in_testing branch September 18, 2023 17:54
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

Successfully merging this pull request may close these issues.

1 participant