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 e887090 + f78caf4 commit 654baf5Copy full SHA for 654baf5
src/MailgunValidator.php
@@ -31,7 +31,7 @@ private function queryMailgun($email)
31
$curl = curl_init();
32
33
curl_setopt_array($curl, array(
34
- CURLOPT_URL => self::API_ENDPOINT . "?api_key=" . $this->apiKey . "&address=" . $email,
+ CURLOPT_URL => self::API_ENDPOINT . "?api_key=" . $this->apiKey . "&address=" . urlencode($email),
35
CURLOPT_RETURNTRANSFER => true,
36
CURLOPT_MAXREDIRS => 0,
37
CURLOPT_TIMEOUT => 30,
@@ -72,4 +72,4 @@ public function validateExtended($email)
72
}
73
74
75
-}
+}
0 commit comments