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:32:34 UTC

svn commit: r1583777 - /ant/site/ivy/sources/js/download-redirect.js

Author: maartenc
Date: Tue Apr  1 20:32:34 2014
New Revision: 1583777

URL: http://svn.apache.org/r1583777
Log:
Fixed download-page problem with https URLs

Modified:
    ant/site/ivy/sources/js/download-redirect.js

Modified: ant/site/ivy/sources/js/download-redirect.js
URL: http://svn.apache.org/viewvc/ant/site/ivy/sources/js/download-redirect.js?rev=1583777&r1=1583776&r2=1583777&view=diff
==============================================================================
--- ant/site/ivy/sources/js/download-redirect.js (original)
+++ ant/site/ivy/sources/js/download-redirect.js Tue Apr  1 20:32:34 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];
 }