cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From psd <>
Subject Problem with org.apache.cxf.transport.http.auth.DigestAuthSupplier
Date Thu, 08 Jan 2015 13:55:39 GMT
Hi Dan & Sergey,

I'm having trouble with
org.apache.cxf.transport.http.auth.DigestAuthSupplier class when generating
digest for URL that contains spaces e.g. 

On line 106 of class org.apache.cxf.transport.http.auth.DigestAuthSupplier
in version 3.0.2 of cxf client it calls currentURI.getPath() which returns
decoded URI with JDK 1.8 making above URL 
"http://localhost:8080/ls-api-ws/ws/rs/v1/ci/   /2222" & when that gets on
the server, 3 spaces in the URL gets replaced with a single space making
digest re computation invalid. 

Is it possible to replace call  currentURI.getPath() with
currentURI.getRawPath()/toString() so that path will remain encoded?


View this message in context:
Sent from the cxf-user mailing list archive at

View raw message