com web/php: now that posttohost() supports ssl, we should use https here: git-php.php mailing-lists.php manual/add-note.php submit-event.php
| From: | Ferenc Kovacs | Date: | Sun, 05 Aug 2012 19:52:37 +0000 |
| Subject: | com web/php: now that posttohost() supports ssl, we should use https here: 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-14055@lists.php.net to get a copy of this message | ||
Commit: 1511842d066ec52fe4df34dde839f79a5653288d
Author: Ferenc Kovacs <tyra3l@gmail.com> Sun, 5 Aug 2012 21:52:37 +0200
Parents: 855e5f7a7f479687dd265ad9f5140761c2a3f401
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=1511842d066ec52fe4df34dde839f79a5653288d
Log:
now that posttohost() supports ssl, we should use https here
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 f7f107b..6acf26d 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(
- "http://master.php.net/entry/svn-account..php",
+ "https://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 2f70505..fd7f96b 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(
- "http://master.php.net/entry/subscribe.php",
+ "https://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 f33052f..2db3b93 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(
- "http://master.php.net/entry/user-note.php",
+ "https://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 3edf30c..7339850 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("http://master.php.net/entry/event.php",
$_POST);
+ $result = posttohost("https://master.php.net/entry/event.php",
$_POST);
if ($result) {
$errors[] = "There was an error processing your submission: $result";
}