https://issues.apache.org/bugzilla/show_bug.cgi?id=48972
Summary: get task no longer allows redirects with relative paths Product: Ant Version: 1.8.0 Platform: Macintosh OS/Version: Mac OS X 10.4 Status: NEW Severity: normal Priority: P2 Component: Core tasks AssignedTo: notifications@ant.apache.org ReportedBy: s...@corfield.org I was using ant 1.7.1 to <get> a URL that responded with Location: index.cfm?event=auth.login and it was correctly following the redirect by prepending the base URL (http://dev.mysite/). I upgraded to ant 1.8.0 and the <get> now fails, reporting: build.xml:436: The following error occurred while executing this line: build.xml:444: java.net.MalformedURLException: no protocol: index.cfm?event=auth.login at java.net.URL.<init>(URL.java:566) at java.net.URL.<init>(URL.java:463) at java.net.URL.<init>(URL.java:412) at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:676) at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:581) at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:571) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.