From 1028e538ab4e531eeae8646b11335a96e035163a Mon Sep 17 00:00:00 2001 From: Pellaeon Lin Date: Fri, 3 Feb 2017 00:18:23 +0800 Subject: [PATCH] Fix duplicate `https://www.facebook.com/` on captcha_action POST URL (#466) --- bridges/FacebookBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/FacebookBridge.php b/bridges/FacebookBridge.php index 7c9ad29..38c5e5b 100644 --- a/bridges/FacebookBridge.php +++ b/bridges/FacebookBridge.php @@ -124,7 +124,7 @@ class FacebookBridge extends BridgeAbstract{ foreach ($captcha->find('input, button') as $input) $captcha_fields[$input->name] = $input->value; $_SESSION['captcha_fields'] = $captcha_fields; - $_SESSION['captcha_action'] = self::URI.$captcha->find('form', 0)->action; + $_SESSION['captcha_action'] = $captcha->find('form', 0)->action; //Show captcha filling form to the viewer, proxying the captcha image $img = base64_encode(getContents($captcha->find('img', 0)->src));