com web/php: Revert "now that posttohost() supports ssl, we should use https here" as there could be mirrors without ssl support.: git-php.php
mailing-lists.php manual/add-note.php submit-event.php
| From: | Ferenc Kovacs | Date: | Sun, 05 Aug 2012 22:12:13 +0000 |
| Subject: | com web/php: Revert "now that posttohost() supports ssl, we should use https here" as there could be mirrors without ssl support.: git-php.php mailing-lists.php manual/add-note.php submit-event.php |
||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-14058@lists.php.net to get a copy of this message | ||
Commit: 3866e9ed7e3110ff4e393bfd7bc28e581f340c73
Author: Ferenc Kovacs <tyra3l@gmail.com> Mon, 6 Aug 2012 00:12:13 +0200
Parents: 1511842d066ec52fe4df34dde839f79a5653288d
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=3866e9ed7e3110ff4e393bfd7bc28e581f340c73
Log:
Revert "now that posttohost() supports ssl, we should use https here" as there could be
mirrors without ssl support.
This reverts commit 1511842d066ec52fe4df34dde839f79a5653288d.
Changed paths:
M git-php.php
M mailing-lists.php
M manual/add-note.php
M submit-event.php
Diff:
diff --git a/git-php.php b/git-php.php
index 6acf26d..f7f107b 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 fd7f96b..2f70505 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 2db3b93..f33052f 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 7339850..3edf30c 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";
}