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

Security: $_SERVER #14

Closed
emiluzelac opened this issue Jun 29, 2015 · 2 comments
Closed

Security: $_SERVER #14

emiluzelac opened this issue Jun 29, 2015 · 2 comments
Labels

Comments

@emiluzelac
Copy link

../helpers.php
../jewish-calendar.php


$_SERVER variable alone is never safe or secure and HTTP_X_REQUESTED_WITH are not reliable.

This issue will give you more details how to make them more secure.

@leac
Copy link
Owner

leac commented Jul 1, 2015

Could you recommend am alternative to HTTP_X_REQUESTED_WITH? I tried Googling, but couldn't find a good solution.

@emiluzelac
Copy link
Author

The main issue with HTTP_X_REQUESTED_WITH is server support, if your theme is used on one site and it works you're good to go.

@leac leac added the wontfix label Aug 1, 2016
@leac leac closed this as completed Aug 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants