[Bug 3227] Could not read or parse the JNLP file

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Mon Nov 14 09:32:53 UTC 2016


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3227

JiriVanek <jvanek at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P5                          |P3
             Status|NEW                         |ASSIGNED

--- Comment #3 from JiriVanek <jvanek at redhat.com> ---
Hello!
I have looked into, and it seems that ITW have issues with :
href="https://efs.uspto.gov/TruePassWebStart/uspto-auth.authenticate.jnlp?q=SlNFU1NJT05JRD0xQzc2NUY3MURDRDQxQ0QyREFCMjc0NzE2NTY3NzYzNi5wcm9kX3Rwd...loongHash.."

In your example is truncated closing quote, but when I checked the file it was
there.

Itw downlaods such an file to cache, and then usesit. So this case actually
goes to:

java.io.FileNotFoundException:
/home/jvanek/.cache/icedtea-web/cache/23/https/efs.uspto.gov/TruePassWebStart/uspto-auth.authenticate.jnlp.q_SlNFU1NJT05JRD02OUY1ODVCNkJBOTM1NThCQjdBMTA5RkQyNDZEQjEwRi5wcm9kX3RwdG9tY2F0MjE1X2p2bTsgRW50cnVzdFRydWVQYXNzUmVkaXJlY3RVcmw9Imh0dHBzOi8vZWZzLnVzcHRvLmdvdi9FRlNXZWJVSVJlZ2lzdGVyZWQvRUZTV2ViUmVnaXN0ZXJlZCI7IFRDUFJPRFBQQUlSc2Vzc2lvbj02MjIxMjk0MTguMjA0ODAuMDAwMA__.info
(File name too long)

If you download that file manually, and remove the href="..." then save, and
use "javaws modified_file.jnlp" the authentication application will work for
you ( I have tested, it booted, but I had no ID to test it), as the important
HASH is passed also as an argument

I will fix this in itw, but this is workaround for you before next ITW is
released (early of 2017)


The fix will be based on truncating any filename (without path) to 256 which is
the boundary acceptable on 99% of systems.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20161114/1c3bfab5/attachment.html>


More information about the distro-pkg-dev mailing list