]> source.dussan.org Git - jgit.git/commit
TransportHttp: resolve redirect URIs from the "Location" header 53/147653/2
authorThomas Wolf <thomas.wolf@paranor.ch>
Tue, 13 Aug 2019 21:59:50 +0000 (23:59 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 16 Aug 2019 06:31:59 +0000 (08:31 +0200)
commit8c7f1a699a65738220dd08a130295804cad32a32
tree05c5e8e219eb025f6f300bbb124e76c61b02af15
parent39e83a6583d6366b65f2356cc80c7cfadb7e051b
TransportHttp: resolve redirect URIs from the "Location" header

The "Location" header in a redirect response may contain a relative
URI. Resolve it against the URI the request was made.

Bug: 550033
Change-Id: I29de07dfbbbc794090821b7c190cb2cf662c5a60
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java