ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r1583777 - /ant/site/ivy/sources/js/download-redirect.js
Date Tue, 01 Apr 2014 20:32:34 GMT
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];
 }



Mime
View raw message