The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
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.
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 calltoLowerInPlace()
inURI::parseHostAndPort
.