When trying to connect to a ipp printer whose URI contains encoded whitespaces, e.g http://localhost/PDF%20Printer/.printer, the library throws an URISyntaxException when trying to sent the ipp request.
This is due to the IPPClients method toHttpUri using the getPath from java.net.URI which delivers the decoded path version. As a following result the call of URI.create("$scheme://$host:$port$path") throws the afformentioned exception.
As a solution we should use the java.net.URI::getRawPath
Fixes #13
When trying to connect to a ipp printer whose URI contains encoded whitespaces, e.g
http://localhost/PDF%20Printer/.printer
, the library throws an URISyntaxException when trying to sent the ipp request. This is due to theIPPClient
s methodtoHttpUri
using thegetPath
fromjava.net.URI
which delivers the decoded path version. As a following result the call ofURI.create("$scheme://$host:$port$path")
throws the afformentioned exception.As a solution we should use the
java.net.URI::getRawPath
Fixes #13