Add CSRF token to forms generated by fileuploader.
Diaspora added an X-CSRF-Token header to XHR made by fileupload. Since fileupload doesn't think Opera supports XHR, it builds a form and submits that instead. By adding a hidden authenticity_token to the form, Opera can submit the form without logging the user out.
parent
95ad7093
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Veuillez vous inscrire ou vous se connecter pour commenter