Spread iOS through manifest.plist - using query string parameters in url string?

My company launches its own distribution platform for iOS applications. Currently our system works well using the following method:

<dict> <key>kind</key> <string>software-package</string> <key>url</key> <string>http://mydomain.com/app.ipa</string> </dict> 

We host our IPAs on Amazon S3 without any level of security. The problem is that I want to add a secure layer that will include the transmission of the query string along with the IPA string to enable the download, for example:

 <dict> <key>kind</key> <string>software-package</string> <key>url</key> <string>http://mydomain.com/app.ipa?AWSAccessKeyId=xxxxxx</string> </dict> 

As soon as we add the parameters to the url string, the installation will no longer work (error "Cannot connect to mydomain.com").

Attempting a link directly (with a query string) works fine, so this is not a problem with the url.

Does anyone have any thoughts on how to fix this / work around?

Cheers, Jason

EDIT: Fixed in the comment below.

+4
source share
1 answer

Derp. I think I decided it myself. Encoding the url string (using htmlspecialchars in php) fixed the problem (characters like this should be encoded like &).

Thanks.

+3
source

All Articles