Skip to content

Commit

Permalink
in XMLUtils set uconn.setInstanceFollowRedirects(false)
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Lazarski committed Feb 24, 2019
1 parent aa37259 commit 3fcac2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ private static InputSource getInputSourceFromURI(String uri,
uconn.setDefaultUseCaches(false);
uconn.setDoInput(true);
uconn.setDoOutput(false);
uconn.setInstanceFollowRedirects(true);
uconn.setInstanceFollowRedirects(false);
uconn.setUseCaches(false);

// username/password info in the URL overrides passed in values
Expand Down

0 comments on commit 3fcac2c

Please sign in to comment.