On 18/04/13 17:46, onranoord wrote:
yeah. succes. i implemented a customtransportfactory that instantiates a
customhttpconduit.
by overriding the aforementioned method the redirect succeeds.
FYI, in CXF 2.7.7-SNAPSHOT you can configure HTTPConduit to auto-follow
redirects (this property has always been supported) and then add a
"http.redirect.relative.uri" contextual property, and that will do it
for you, and then this can further be secured by validating that we
still get the same host redirection (we don't use URL resolve function
so virtually no chance to somehow produce a diff host URL from a rel
redirect) by setting a "http.redirect.same.host.only" property - the
latter should probably be set to true in most auto-redirect cases...
Cheers, Sergey
--
View this message in context:
http://cxf.547215.n5.nabble.com/redirect-with-relative-Location-tp5726345p5726508.html
Sent from the cxf-user mailing list archive at Nabble.com.