Skip to content
Snippets Groups Projects
Commit 0e795978 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #268148 by obsidiandesign: make the simpletests work on https.

parent 06379c54
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -731,6 +731,8 @@ protected function curlConnect() { ...@@ -731,6 +731,8 @@ protected function curlConnect() {
CURLOPT_URL => $base_url, CURLOPT_URL => $base_url,
CURLOPT_FOLLOWLOCATION => TRUE, CURLOPT_FOLLOWLOCATION => TRUE,
CURLOPT_RETURNTRANSFER => TRUE, CURLOPT_RETURNTRANSFER => TRUE,
CURLOPT_SSL_VERIFYPEER => FALSE, // Required to make the tests run on https://
CURLOPT_SSL_VERIFYHOST => FALSE, // Required to make the tests run on https://
); );
if (preg_match('/simpletest\d+/', $db_prefix)) { if (preg_match('/simpletest\d+/', $db_prefix)) {
$curl_options[CURLOPT_USERAGENT] = $db_prefix; $curl_options[CURLOPT_USERAGENT] = $db_prefix;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment