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

html compatibility of global variables #4

Open
Little-Ben opened this issue Jan 13, 2017 · 1 comment
Open

html compatibility of global variables #4

Little-Ben opened this issue Jan 13, 2017 · 1 comment

Comments

@Little-Ben
Copy link
Owner

Consider html compatibility of "global variables" like $owner string and others.
Needs to be surrounded by htmlentities() or something similar, if strings are inserted into html.
Otherwise ' or " (and others) might cause trouble.

e.g. search for $owner
find /path/to/ChurchRota/ -type f -print | xargs egrep '$owner'

@sgreenslade
Copy link
Contributor

Some old, but useful advice here on checking input from users:
https://www.dreamhost.com/blog/2013/05/22/php-security-user-validation-and-sanitization-for-the-beginner/

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