Re: Malformed URL string in openURL
Re: Malformed URL string in openURL
- Subject: Re: Malformed URL string in openURL
- From: Jens Alfke <email@hidden>
- Date: Tue, 07 Jun 2011 17:39:55 -0700
On Jun 7, 2011, at 4:42 PM, James Merkel 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.
That’s weird, since RFC 1738 explicitly says parentheses are legal and don’t need to be escaped:
> Thus, only alphanumerics, the special characters "$-_.+!*'(),", and
> reserved characters used for their reserved purposes may be used
> unencoded within a URL.
Could you show us one of these URLs?
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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