[rfc][icedtea-web] Strip parameters from document-base
Adam Domurad
adomurad at redhat.com
Wed Mar 27 13:20:34 PDT 2013
It appears having parameters in the URL for the stored document-base can
cause problems with some applets, namely the Oracle LMS applet.
A small bit of refactoring is needed to move the URL stripping code:
Refactoring ChangeLog:
2013-03-26 Adam Domurad <adomurad at redhat.com>
*
netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java
(normalizeUrlAndStripParams): Moved.
* netx/net/sourceforge/jnlp/util/UrlUtils.java
(normalizeUrlAndStripParams): New, moved from
UnsignedAppletTrustConfirmation.
*
tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmationTest.java
(testNormalizeUrlAndStripParams): Moved.
* tests/netx/unit/net/sourceforge/jnlp/util/UrlUtilsTest.java:
New, has (testNormalizeUrlAndStripParams) from
UnsignedAppletTrustConfirmationTest.
And the fix itself:
2013-03-26 Adam Domurad <adomurad at redhat.com>
* netx/net/sourceforge/jnlp/NetxPanel.java
(NetxPanel): Ensure documentURL has stripped parameters
Happy hacking,
-Adam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: move-strip-to-url-utils.patch
Type: text/x-patch
Size: 7435 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130327/b0b48b06/move-strip-to-url-utils.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strip-documentbase.patch
Type: text/x-patch
Size: 910 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130327/b0b48b06/strip-documentbase.patch
More information about the distro-pkg-dev
mailing list