Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Http protocol
Message
From
02/01/2002 15:01:33
 
 
To
28/12/2001 09:26:02
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00598769
Message ID:
00599920
Views:
13
>They want me to block navigating to any URL that is not http protocol. Is there any way to do this other than forcing them to put 'http://' at the beginning of the URL?

Make the HTTP optional, and when you go to navigate to the page, if HTTP wasn't expliclty typed in, add it. THat makes URLs like HTTP://c:\ invlaid.

Also, you can put simple little tricks in to discourage users. For example, if a "\" is detected, you know its not a valid URL since they use "/" and you can cancel navigation. If a "c:" is detected, or any other URLs, same thing.
Previous
Reply
Map
View

Click here to load this message in the networking platform