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

Poco::URI: don't lowercase host part if it's a Unix domain socket #4468

Closed
obiltschnig opened this issue Feb 21, 2024 · 0 comments
Closed

Poco::URI: don't lowercase host part if it's a Unix domain socket #4468

obiltschnig opened this issue Feb 21, 2024 · 0 comments
Assignees

Comments

@obiltschnig
Copy link
Member

Some (non-standard) URI schemes for Unix domain sockets use the host part to specify the path of a Unix domain socket, e.g. http+unix://%2Ftmp%2FServerSocket/index.html. In such a case, the URI class should not change (convert to lower case) the host part, as file names are case sensitive on some platforms.

So if _host starts with a %, don't call toLowerInPlace() in URI::parseHostAndPort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants