Revision 1efe6159 snf-cyclades-app/synnefo/ui/userdata/views.py

b/snf-cyclades-app/synnefo/ui/userdata/views.py
105 105
    name = request.POST.get("name", "key")
106 106

  
107 107
    response = http.HttpResponse(mimetype='application/x-pem-key')
108
    response['Content-Disposition'] = 'attachment; filename=%s.pem' % name
108
    response['Content-Disposition'] = 'attachment; filename=%s' % name
109 109
    response.write(data)
110 110
    return response
111 111

  

Also available in: Unified diff