Skip to content

Commit

Permalink
escape message in deploy url
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Ivy committed Apr 14, 2011
1 parent 3cb355d commit e3663e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mgapp/templates/app.html
Expand Up @@ -7,7 +7,7 @@
$('#deploy').click(function(){
$('#output').html('')
$('#status').html('DEPLOYING');
$('#output').load('{% url mgapp.views.deploy_app %}?app_id={{app.id}}&message=' + $('#message').val() + '&env=' + $('#env').val(), function(){
$('#output').load('{% url mgapp.views.deploy_app %}?app_id={{app.id}}&message=' + escape($('#message').val()) + '&env=' + $('#env').val(), function(){
$('#status').html('DEPLOYED');
$('#deploys').load('{% url mgapp.views.deploys %}?&count=5&partial=true&app_id='
+ $('#app_id').val())
Expand Down

0 comments on commit e3663e9

Please sign in to comment.