Skip to content

Commit

Permalink
adjust converting sms message
Browse files Browse the repository at this point in the history
  • Loading branch information
eumel8 committed Jun 21, 2013
1 parent c0b27bd commit 463f6a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/twilio_sms_sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ identifier="<%= twilio_account %>:<%= twilio_identifier %>"
from="From=<%= twilio_from %>"
to="To=<%= twilio_to %>"
message1=`echo "$1"`
message=`php -r "echo 'Body=' . urlencode(urlencode('$message1')) ;"`
message=`php -r "echo 'Body=' . rawurlencode('$message1') ;"`


curl -X POST $gateway_uri \
-u $identifier \
Expand Down

0 comments on commit 463f6a0

Please sign in to comment.