Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testflight notes should be escaped #14

Open
dentarg opened this issue Jan 25, 2013 · 0 comments
Open

testflight notes should be escaped #14

dentarg opened this issue Jan 25, 2013 · 0 comments

Comments

@dentarg
Copy link

dentarg commented Jan 25, 2013

The problem:

$ bundle exec rake testflight notes='Added "John Doe iPhone 4S" to the Provisioning Profile'
...

       Run /usr/bin/curl http://testflightapp.com/api/builds.json -F file=@"./build/iPhoneOS-5.1-Development/MyApp.ipa" -F dsym=@"./build/iPhoneOS-5.1-Development/MyApp.dSYM.zip" -F api_token='removed' -F team_token='removed' -F notes="Added "John Doe iPhone 4S" to the Provisioning Profile" -F notify=True
{
...
    "release_notes": "Added John", 
    "binary_size": 1088533
}
curl: (6) Could not resolve host: Doe; nodename nor servname provided, or not known
curl: (6) Could not resolve host: iPhone; nodename nor servname provided, or not known

I solved it with

rake testflight notes='Added \"John Doe iPhone 4S\" to the Provisioning Profile'

but maybe you could escape the notes string before using it with curl?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant