Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6696175
Votes 5
Synopsis javaws not recognizing properties which contains % character
Category javawebstart:jnlp_file
Reported Against b09
Release Fixed 5.0u18-rev(b05), 6u12(b02) (Bug ID:2168065)
State 10-Fix Delivered, bug
Priority: 2-High
Related Bugs
Submit Date 30-APR-2008
Description
Java Web Start is not recognizing the properties which contains % character.
 The customer seeing this issue with particular versions of Java Web Start like
1.5.0_15 and 1.6.0_06 .
This issue didn't happen with previous versions 1.5.0_06,1.5.0_07,1.5.0_11,
1.5.0_14, 1.6.0_02, 1.6.0.03, 1.6.0_04


For Example,.
<property name='user' value='chandra%'/>
<property name='version' value='1.1'</property>
<property name='sessionId' value='afg4l5n55%bn3'/>
<property name='cookie' value='abcdefghijk'/>

The properties with % character are not getting loaded

If they download the jnlp file, the property is there, If they choose to view
jnlp file in "javaws -viewer" it's not there.

The customer is not using URL encoding  as the specification mentions %  customer  requires special encoding.

http://java.sun.com/products/javawebstart/jnlp-spec-log.html


Customer's version :

We tested this on Windows.Issue is not on the server side but on client side.
We tried launching from IE as well as Mozilla Firefox

Yes, this issue didn't happen with versions 1.5.0_06,1.5.0_07,1.5.0_11,
1.5.0_14, 1.6.0_02, 1.6.0.03, 1.6.0_04
Yes this issue is happening after installing the newer version i.e
1.5.0_15 or 1.6.0_06

Since I have multiple JREs, I am launching with the corresponding versions.
For Ex, with command line, the way I launch the javaws -viewer is as follows

C:\> "C:\program files\java\jre1,5,0_07\bin\javaws" -viewer

With browser also, I am selecting the javaws corresponding to the version which I want to test.
I opened a thread even in the forum and saw one more person is having the same issue

http://forum.java.sun.com/thread.jspa?threadID=5288639

This issue is happening for me whenever we have % character.
Posted Date : 2008-04-30 16:52:49.0
Work Around
N/A
Evaluation
Please see more details on the Comments section.

The changes that caused this regression on 6u5 may not exist in 6u10 since those changes are not seen with the latest ws anymore. Need to confirm by testing it.
Posted Date : 2008-06-26 07:41:39.0

the fix to 6623233 is in 6u10, and may be overly agressive.
We need to evaluate the impact of allowing % characters in property values.
Posted Date : 2008-10-09 18:49:29.0
Comments
  
  Include a link with my name & email   

Submitted On 05-JUN-2008
josc002
This happens for other characters as well.
Exclamation mark "!" same behaviour.
Swedish "a a o" with rings and dots above don't work either.
JRE 1.6.0_05, 1.6.0_06 affected by this.
Any work around for this ?
The behaviour is like the property never existed in user code
if these characters are present in a property string in the JNLP file.


Submitted On 29-SEP-2008
niqueco
I'm seeing this with Java 6u10rc2. Please, fix this.. this is a very problematic bug for existing application that depends on setting properties!



PLEASE NOTE: JDK6 is formerly known as Project Mustang