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

Already on GitHub? Sign in to your account

Added X-CSRF-Token #1151

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

I'm adding FineUploader to my project and have been scratching my head trying to find out how to send the CSRF token with the upload so I don't get "Can't verify CSRF token authenticity" errors.

After playing around with the code I found that adding it in the handler.xhr.js file works a treat!

Owner

rnicholus commented Mar 2, 2014

Is there any reason you can't use the request.customHeaders option?

Ah, didn't realise there was a custom headers option, will try it.

Owner

rnicholus commented Mar 2, 2014

I'll close this then. Also, all pull requests need to be against the develop branch.

@rnicholus rnicholus closed this Mar 2, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment