BUG: canot use custom URL.

An iPhone client for Growl available on the App Store.
covert
Harmless
Posts: 1
Joined: Fri Aug 05, 2011 6:41 am

BUG: canot use custom URL.

Postby covert » Fri Aug 05, 2011 6:46 am

When I pass a customer URL to prowl the URL gets sanitized to be (null). The custom URL is to launch an app called geosphere.

The URL being passed is..

Code: Select all

geosphere://?browser="http://whatevermytestsiteis.com/custom.zip"


My current work around is to call a special page that puts the URL into a href and let Safari handle it.

Please fix it.

User avatar
zac
Cocoaforge Admin
Posts: 1518
Joined: Sun Mar 27, 2005 3:19 pm
Contact:

Re: BUG: canot use custom URL.

Postby zac » Fri Aug 05, 2011 11:26 am

Quote (") is not a valid URL character. Try URL-encoding the entire URL before passing it through the API. (" is encoded as %22)

Technical note: my guess is NSURL is seeing the full URL and rejecting it, not something at the Prowl level. I can give it a more thorough testing when I get the chance, but since the same URL works sans-quotes I'm guessing this is the case.


Return to “Prowl”

Who is online

Users browsing this forum: No registered users