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

Fix use of UTF-8 characters to host in Uri class #23

Merged
merged 4 commits into from
May 6, 2023

Conversation

devanych
Copy link
Member

@devanych devanych commented May 6, 2023

Q A
Bug fix? yes
New feature? no
Breaks BC? no

This solution is more predictable compared to the strtolower() function.

The strtolower() function may incorrectly handle some characters, this is especially actual for use in Windows OS.

The mb_strtolower() function requires the installation of an extension https://www.php.net/manual/en/mbstring.installation.php.

@devanych devanych changed the title Additional tests for strtolower function checking to UTF-8 in Windows Fix use of UTF-8 characters to host in Uri class May 6, 2023
@devanych devanych added the bug Something isn't working label May 6, 2023
@devanych devanych merged commit 7f0ee00 into master May 6, 2023
25 checks passed
@devanych devanych deleted the additional-utf8-host-tests branch May 6, 2023 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

None yet

1 participant