+ Reply
Results 1 to 2 of 2

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


Thread: Openurl Problem

is a discussion within the

3rd Party Apps Requests

forums, a part of the

3rd Party Apps For iPhone | iPod Touch

section;
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
...
  1. #1
    What's Jailbreak?
    Join Date
    Oct 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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
    CVB
    CVB is offline
    What's Jailbreak?
    Join Date
    Sep 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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 05: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