Quoting Robert Hanson <[EMAIL PROTECTED]>: > Rolf, > > First, realize that it's an unusual situation that you are in, accessing > files through an absolute path on your web server. Most of us use relative > paths. > > This is not a bug. The problem is that that now that the signed applet can > read from the hard drive, if you just say: > > /xxx/xxx/xxx > > Jmol has to assume that's from the hard drive, because it doesn't have a URL > associated with it. (This was fixed recently for people on Macs and Unix > boxes, where there is no X: prefix.) > > Whether or not the applet is signed doesn't make a difference -- we really > don't want the signed and unsigned applet accessing different files. So you > can no longer use > > load "/xxx/xxx" > > with no HTTP:// in front of it with the applet -- signed or unsigned -- to > access root files on the web server. I suppose you could argue that we > should allow "/" to mean "root on the web server" for the unsigned applet, > but that would mean that the signed applet and unsigned applet would have > two different interpretations, and I at least suggest that's not a good > idea. > > Jmol now has to read that as a local file. Instead, use your full URL call, > or set the default directory to > > http://[EMAIL PROTECTED]/ > > and then just use the load command without the initial slash. > > Will that work for you? > Disabling server absolute paths is a severe change that at least should be announced very clearly. There might be other sites that will also be broken by this change. From the discussion about this topic on this list about 3 years ago (when the Jmol.js library popped up an alert when a server absolute path was used) I remember that there were also other people who voted for allowing server absolute paths.
It is of course not always easy to maintain backward compatibility. But since the abilities of the signed applet are new features it might be better to disable server absolute paths by a switch instead of enabling them by a switch (or some other way) or disabling them totally. Q: What do others think about this? Q: Are there other Jmol sites that use server absolute paths? Regards, Rolf ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

