You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by ma...@apache.org on 2014/04/01 22:33:19 UTC
svn commit: r1583779 - /ant/site/ivy/production/js/download-redirect.js
Author: maartenc
Date: Tue Apr 1 20:33:18 2014
New Revision: 1583779
URL: http://svn.apache.org/r1583779
Log:
Fixed download-page problem with https URLs
Modified:
ant/site/ivy/production/js/download-redirect.js
Modified: ant/site/ivy/production/js/download-redirect.js
URL: http://svn.apache.org/viewvc/ant/site/ivy/production/js/download-redirect.js?rev=1583779&r1=1583778&r2=1583779&view=diff
==============================================================================
--- ant/site/ivy/production/js/download-redirect.js (original)
+++ ant/site/ivy/production/js/download-redirect.js Tue Apr 1 20:33:18 2014
@@ -16,6 +16,6 @@
specific language governing permissions and limitations
under the License.
*/
-if (m = /(http:.*\/)download.html([^\/]*)/.exec(window.location.toString())) {
+if (m = /(https?:.*\/)download.html([^\/]*)/.exec(window.location.toString())) {
window.location.href = m[1] + "download.cgi" + m[2];
}