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

Quote marks in settings #181

Open
JMatthewman opened this issue Jul 16, 2012 · 0 comments
Open

Quote marks in settings #181

JMatthewman opened this issue Jul 16, 2012 · 0 comments

Comments

@JMatthewman
Copy link

Including a single quote mark ( ' ) in the ban notification (and presumably some/all of the other values editable on that page/ that use 'vars.php' causes a PHP error

"Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /var/www/spacebukkit/app/webroot/vars.php on line 26 "

Either stronger escapes, auto filtering, or validation to prevent use of certain characters are needed.

(also able to submit non-numerical characters in what should be numeric only fields, such as refresh times, validation recommended)

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

1 participant