elford Posted January 22, 2007 Posted January 22, 2007 I have a wacky case where the Open URL command does not open the correct URL. This behavior occurs when calling Open URL from a script, as well as a button assigned to open a different address. Let's say I want to go to http://website.com/lets/go/here/ When triggering the Open URL command with either the script or the button sends me to http://website.com//lets/go/here Notice the double slash after .com -- that's the problem. If you remove the extra slash from the browser's address bar, the address is correct. Further, this only occurs on one machine, a Windows XP box running FileMaker Pro 7. The behavior occurs in Firefox 1.5 -- I don't have the necessary rights to set IE6 as the default browser to see if it happens with IE. However, other systems, both Mac and Windows, IE and Firefox, don't have this problem. Unfortunately, the machine with the problem is the machine that needs this to work. Short of calling my IT department and having them upgrade to Firefox 2 to see if that helps, can anyone provide some suggestions for me to try?
elford Posted January 22, 2007 Author Posted January 22, 2007 Ah, so it's a known bug, great. For anyone else, the suggested fix on the other page didn't work, because then the URL in Firefox contained all %2f instead of any slashes. However, the following did solve my problem: Substitute ( URL ; [ "http://" ; "" ] ; [ "//" ; "/" ] )
comment Posted January 22, 2007 Posted January 22, 2007 It does work for me (Firefox 1.5 on OS X). BTW, your second substitution doesn't really do anything: after removing the leading "http://" there are no more double slashes in the URL (or at least there shouldn't be).
Recommended Posts
This topic is 6517 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now