PatriciaW Posted October 12, 2005 Posted October 12, 2005 (edited) I'm trying to open a URL of the following format: http://localhost/~xxx/yyy.html However, when I execute the Open URL script it gives me an error that cannot find the URL. The URL now has two slashes in the name: http://localhost//~xxx/yyy.html What am I doing wrong here? I assume the problem is with the use of the tilde, but is there a way of avoiding the insertion of the extra slash in front of it. I've tried escaping it with a but that doesn't work. Edited October 12, 2005 by Guest
CyborgSam Posted October 15, 2005 Posted October 15, 2005 Not sure if this was fixed in one of the 7 updates... Are you running the latest version of 7? Filemaker Knowledge Base Answer ID 244 APPLICABLE TO: FileMaker Pro 7, FileMaker Developer 7 ISSUE: The Open URL script adds an extra slash (/) within URL's when performed which causes some URL's to fail. EXPLANATION: When passing a URL to the Open URL script step, and extra slash ( / ) character is added after the top-level domain part of the URL. For example, http://www.mysite.com/folder/ will become http://www.mysite.com//folder/. Only the slash after the top-level domain part is doubled; other slashes in the URL are not affected. The result is the same whether the step is performed with or without dialog. When performing with dialog, the extra slash is not displayed in the dialog. RESOLUTION: Leaving off the http:// part of the URL works around this issue. However, on Windows, if the URL does not start with www, the page will not load if the http:// part is not included. FileMaker, Inc. has confirmed this issue with the products listed.
FMP_Trainee Posted November 9, 2005 Posted November 9, 2005 Waow.... ` Just add a remark from a guy in my open space.... I was like no way, you must be kidding me. Then, I tried and my DB encountered the same issue. They should fix that because this is really unpleasant and not so straightforward. Thanks for your post, another resolution after a visit here. Regards, Julien
Recommended Posts
This topic is 6956 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