• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Malformed URL string in openURL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Malformed URL string in openURL


  • Subject: Re: Malformed URL string in openURL
  • From: James Merkel <email@hidden>
  • Date: Tue, 07 Jun 2011 17:50:41 -0700


On Jun 7, 2011, at 5:06 PM, Jeffrey Walton wrote:

On Tue, Jun 7, 2011 at 8:03 PM, Jeffrey Walton <email@hidden> wrote:
On Tue, Jun 7, 2011 at 7:42 PM, James Merkel <email@hidden> wrote:
I am sending a URL string to NSWorkspace's openURL method that has the
bracket characters ( ) in it. The URL can't be opened by NSWorkspace. If I
take out the ( ) characters NSWorkspace then opens the URL, so I guess
NSWorkspace considers the string with ( ) a malformed URL.


Note, the ( ) characters are used by Mapquest to label a location. If I just
enter the URL string with brackets in the browser , it opens mapquest ok.


Is there any way around this problem?
Forgive the obvious: have you tried an HTML escape - &#40; and &#41;?
My bad - URL escapes: ( and ).

I tried ( and ) and that didn't work either. _______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Malformed URL string in openURL (From: James Merkel <email@hidden>)
 >Re: Malformed URL string in openURL (From: Jeffrey Walton <email@hidden>)
 >Re: Malformed URL string in openURL (From: Jeffrey Walton <email@hidden>)

  • Prev by Date: Re: Malformed URL string in openURL
  • Next by Date: Re: Malformed URL string in openURL
  • Previous by thread: Re: Malformed URL string in openURL
  • Next by thread: Re: Malformed URL string in openURL
  • Index(es):
    • Date
    • Thread