Use httpProxy from the config. #1692
WalterliTell
started this conversation in
Feature Requests
Replies: 3 comments 2 replies
-
Thanks for your feedback @WalterliTell. We'll check into this. 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
-
This will be available in Freeform 5.9.0, available sometime next week. 🙂 |
Beta Was this translation helpful? Give feedback.
2 replies
-
This should now be resolved in Freeform 5.9. 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We need to use a httpProxy because of our firewall. Freeform seems to ignore the httpProxy configuration.
Could you consider using Craft::createGuzzleClient() instead of new Client().
For example:
$client = Craft::createGuzzleClient([ 'headers' => [ 'Referer' => Craft::$app->getSites()->getPrimarySite()->getBaseUrl(), ], ]);
I'm currently adding the proxy manually in your ReCaptcha.php but that's not optimal for maintenance.
Maybe I'm missing something, if so please correct me :)
Kind regards
Beta Was this translation helpful? Give feedback.
All reactions