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

Remove ereg validation of IP address. #263

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

mreiden
Copy link
Contributor

@mreiden mreiden commented Jun 19, 2019

Fixes using WebConnector with PHP7+ with allow_remote_addr/deny_remote_addr handler_options. The ereg just validates the string is IPv4, so use filter_var with FILTER_VALIDATE_IP. Also remove commented out ereg date checking code (This was replaced by using QuickBooks_QBXML_Object->setDateType years ago).

Solves Issue #89.

…ing ereg IPv4 validation with FILTER_VALIDATE_IP. Remove commented out (since before initial github commit Jan 19, 2012) ereg date checking code replaced by using QuickBooks_QBXML_Object->setDateType. Solves consolibyte#89.
…Server/Handlers.php" (does not exist) to "QuickBooks/WebConnector/Handlers.php" in handler_options comment.
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

Successfully merging this pull request may close these issues.

1 participant