Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP_X_REQUESTED_WITH #46

Open
str opened this issue Aug 7, 2015 · 1 comment
Open

HTTP_X_REQUESTED_WITH #46

str opened this issue Aug 7, 2015 · 1 comment

Comments

@str
Copy link

str commented Aug 7, 2015

I'm trying to send a file using this plugin, but the server side checking confirms if it's a valid ajax call, detecting if HTTP_X_REQUESTED_WITH is set in the header. This is an iframe submit, not an ajax call, so the header is not set.

How can I set the header to validate against the server side checking?

@jfeldstein
Copy link
Owner

Take a look at http://stackoverflow.com/a/17695034/311901

And give that a shot.

You'll probably want to make a fork / pull-request for that.

~ Jordan

See what I'm into on AngelList https://angel.co/jordan-feldstein

On Thu, Aug 6, 2015 at 7:51 PM, Stuardo -StR- Rodríguez <
[email protected]> wrote:

I'm trying to send a file using this plugin, but the server side checking
confirms if it's a valid ajax call, detecting if HTTP_X_REQUESTED_WITH is
set in the header. This is an iframe submit, not an ajax call, so the
header is not set.

How can I set the header to validate against the server side checking?


Reply to this email directly or view it on GitHub
#46.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants