We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d72e82b + 1900137 commit 4957b7cCopy full SHA for 4957b7c
ext/filter/logical_filters.c
@@ -636,8 +636,8 @@ void php_filter_validate_url(PHP_INPUT_FILTER_PARAM_DECL) /* {{{ */
636
RETURN_VALIDATION_FAILED
637
}
638
639
- if (url->user != NULL && !is_userinfo_valid(url->user)
640
- || url->pass != NULL && !is_userinfo_valid(url->pass)
+ if ((url->user != NULL && !is_userinfo_valid(url->user))
+ || (url->pass != NULL && !is_userinfo_valid(url->pass))
641
) {
642
php_url_free(url);
643
0 commit comments