add support for cucked urls
This commit is contained in:
1 parent
e03c582f74
commit
ffb1fc00f3
8 files changed
+223
-318
No files matched your search
+8
-1
@@ -62,7 +62,14 @@ class google{
|
||||
return $data;
|
||||
}
|
||||
|
||||
function resolve($id){
|
||||
function resolve($id, $signature){
|
||||
|
||||
$sig_status = $this->backend->hmac_verify(4, "google,{$id}", $signature);
|
||||
|
||||
if($sig_status["valid"] === false){
|
||||
|
||||
throw new Exception("[Signature] " . $sig_status["reason"]);
|
||||
}
|
||||
|
||||
$html =
|
||||
$this->get(
|
||||
|
||||
Reference in new issue
Block a user