https://bz.apache.org/bugzilla/show_bug.cgi?id=65105

--- Comment #1 from Jaikiran Pai <[email protected]> ---
Hello Mark,

I had a quick look at the code in Ant and from what I can see by default we do
follow redirects[1]. So:

> Redirects from http to https are not followed. This is unexpected.

This shouldn't have been the case. 

I had a look at the linked Tomcat issue too and from what I can see, you are
using 1.9.x version of Ant, specifically 1.9.15. It should have worked there
too  from what I can see in the code. Is there some specific section in the
Tomcat's build file along with the exact URL against which this is failing? I
can try it out myself to see what's going on.

On a related note, is Tomcat officially still on 1.9.x versions for their build
or do they use 1.10.x series?

[1]
https://github.com/apache/ant/blob/master/src/main/org/apache/tools/ant/taskdefs/condition/Http.java#L48
[2]
https://github.com/apache/ant/blob/master/src/main/org/apache/tools/ant/taskdefs/condition/Http.java#L129

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to