From 3866e9ed7e3110ff4e393bfd7bc28e581f340c73 Mon Sep 17 00:00:00 2001 From: Ferenc Kovacs Date: Mon, 6 Aug 2012 00:12:13 +0200 Subject: [PATCH] Revert "now that posttohost() supports ssl, we should use https here" as there could be mirrors without ssl support. This reverts commit 1511842d066ec52fe4df34dde839f79a5653288d. --- git-php.php | 2 +- mailing-lists.php | 2 +- manual/add-note.php | 2 +- submit-event.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/git-php.php b/git-php.php index 6acf26ddc..f7f107b2f 100644 --- a/git-php.php +++ b/git-php.php @@ -82,7 +82,7 @@ if (count($_POST) && (!isset($_POST['purpose']) || !is_array($_POST['purpose']) // Post the request if there is no error if (!$error) { $error = posttohost( - "https://master.php.net/entry/svn-account.php", + "http://master.php.net/entry/svn-account.php", array( "username" => $cleaned['id'], "name" => $cleaned['fullname'], diff --git a/mailing-lists.php b/mailing-lists.php index fd7f96b0d..2f70505da 100644 --- a/mailing-lists.php +++ b/mailing-lists.php @@ -68,7 +68,7 @@ if (isset($_POST['maillist'])) { // Get in contact with master server to [un]subscribe the user $result = posttohost( - "https://master.php.net/entry/subscribe.php", + "http://master.php.net/entry/subscribe.php", array( "request" => $request, "email" => $_POST['email'], diff --git a/manual/add-note.php b/manual/add-note.php index 2db3b9363..f33052fa3 100644 --- a/manual/add-note.php +++ b/manual/add-note.php @@ -97,7 +97,7 @@ if ($process) { // Post the variables to the central user note script // ($MQ is defined in prepend.inc) $result = posttohost( - "https://master.php.net/entry/user-note.php", + "http://master.php.net/entry/user-note.php", array( 'user' => ($MQ ? stripslashes($user) : $user), 'note' => ($MQ ? stripslashes($note) : $note), diff --git a/submit-event.php b/submit-event.php index 733985004..3edf30c19 100644 --- a/submit-event.php +++ b/submit-event.php @@ -121,7 +121,7 @@ if ($process) { if (isset($_POST['action']) && $_POST['action'] === 'Submit' && empty($errors)) { // Submit to master.php.net - $result = posttohost("https://master.php.net/entry/event.php", $_POST); + $result = posttohost("http://master.php.net/entry/event.php", $_POST); if ($result) { $errors[] = "There was an error processing your submission: $result"; }