Closed Bug 80229 Opened 24 years ago Closed 24 years ago

Applet dosen't load if URL contains a slash

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: udo.offermann, Assigned: edburns)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9) Gecko/20010505 BuildID: 20010505 (Mozilla 0.9) Applet is not loaded, if the query string of the entire url contains a slash. Even the escaped form (%2f) does not work. Reproducible: Always Steps to Reproduce: 1.try http://java.sun.com/applets/archive/beta/Pythagoras/index.html?x=/ 2.or http://java.sun.com/applets/archive/beta/Pythagoras/index.html?x=%2f Actual Results: The Java Console shows: java.lang.ClassFormatError: Pythagoras (Bad magic number) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at sun.applet.AppletClassLoader.findClass(Unknown Source) at sun.plugin.security.PluginClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadCode(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Expected Results: try http://java.sun.com/applets/archive/beta/Pythagoras/index.html or http://java.sun.com/applets/archive/beta/Pythagoras/index.html?x=y
Updating summary from "Applet dosen't load" to "Applet dosen't load if URL contains a slash". Confirming on 2001050404.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Applet dosen't load → Applet dosen't load if URL contains a slash
Hello Udo, I'm sorry to do this, but I have to mark this Wontfix. This is the dreaded ClassFormatError, information in bug 62025. I'll have one of my team-members contact the maintainer of the applet in question and have them re-compile their applet with a Java2 compatible compiler.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WONTFIX
Hi Ed, do I understand you right that applets compiled with a Java 2 compiler should be immune against slashes inside the query string? Udo
SPAM: reassigning OJI bugs to new QA, pmac. (227 bugs)
QA Contact: shrir → pmac
QA Contact: pmac → petersen
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.