Thread: Openurl Problem
-
12-08-2007, 09:43 PM #1
Openurl Problem
if the user-defined url containts '?', openurl will interpret the '?' as '%3F' and open the url in safari. Safari does not understand the '%3F'. It will result in a "Page Not Found" error!
Is there any solution for this problem currently?
-
12-12-2007, 05:31 PM #2
This is tweaked from Erica's open url app.... I was able to open all sorts of urls that contained %?#@ etc...
Erica's app used initFileURLWithPath instead of URLWithString.Code:- (void) applicationDidFinishLaunching: (id) unused { [self openURL:[NSURL URLWithString:@"http://someurl.com?q=asdf%?1234etc"]]; }Last edited by CVB; 12-12-2007 at 05:35 PM.



LinkBack URL
About LinkBacks
Reply With Quote