Skip to content

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.

mreiden added 6 commits June 13, 2019 15:49
…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