Results 1 to 2 of 2

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Openurl Problem

  1. #1
    Default 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?

  2. #2
    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; 12-12-2007 at 06:35 PM.

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •