1. jayzhuo's Avatar
    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?
    2007-12-09 05:43 AM
  2. CVB's Avatar
    This is tweaked from Erica's open url app.... I was able to open all sorts of urls that contained %?#@ etc...

    Code:
    - (void) applicationDidFinishLaunching: (id) unused
    {
    	[self openURL:[NSURL URLWithString:@"http://someurl.com?q=asdf%?1234etc"]];
    }
    Erica's app used initFileURLWithPath instead of URLWithString.
    Last edited by CVB; 2007-12-13 at 01:35 AM.
    2007-12-13 01:31 AM
LINK TO POST COPIED TO CLIPBOARD