Skip to content

Commit

Permalink
Update HttpCondition.php (#1678)
Browse files Browse the repository at this point in the history
  • Loading branch information
oburk authored Jun 23, 2022
1 parent 053cb49 commit 03ca920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/phing/tasks/system/condition/HttpCondition.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function evaluate()
throw new BuildException("No url specified in http condition");
}

if (!filter_var($this->url, FILTER_VALIDATE_URL, FILTER_FLAG_SCHEME_REQUIRED)) {
if (!filter_var($this->url, FILTER_VALIDATE_URL)) {
$this->log("Possible malformed URL: " . $this->url, $this->quiet ? Project::MSG_VERBOSE : Project::MSG_WARN);
}

Expand Down

0 comments on commit 03ca920

Please sign in to comment.