United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8017164 Invalid URL to GetJava web page could be formed in deployJava.js in some cases
JDK-8017164 : Invalid URL to GetJava web page could be formed in deployJava.js in some cases

Details
Type:
Bug
Submit Date:
2013-06-20
Status:
Resolved
Updated Date:
2014-02-12
Project Name:
JDK
Resolved Date:
2013-06-27
Component:
deploy
OS:
Sub-Component:
CPU:
Priority:
P4
Resolution:
Fixed
Affected Versions:
Fixed Versions:

Related Reports
Backport:
Backport:
Backport:
Backport:

Sub Tasks

Description
deployJava.js

getJavaURL: 'http://java.com/dt-redirect',


If you look at how getJavaURL is used - we might append it with query-string/form values:

  location.href = this.getJavaURL +
                        ((this.returnPage != null) ?
                        ('&returnPage=' + this.returnPage) : '') +
                        ((this.locale != null) ?
                        ('&locale=' + this.locale) : '') +
                        ((this.brand != null) ?
                         ('&brand=' + this.brand) : '');


So for example, if returnPage is "http://www.google.com", it does not work now, because it will be:

http://java.com/dt-redirect&returnPage=http://www.google.com&locale=en-US

                                    

Comments
SQE-OK to get this issue fix for 7u40.
Javascript changes only and fix is requested by important customers like POGO
                                     
2013-06-28
Test pages to verify fix added.
                                     
2013-06-20



Hardware and Software, Engineered to Work Together