[debian-edu-commits] debian-edu/upstream/ 01/02: Adjust sitesummary-upload to be compliant with apache 2.4.25 security fixes (HTTP request). (Closes: #852623).

Petter Reinholdtsen pere at moszumanska.debian.org
Fri Mar 10 06:10:00 UTC 2017


This is an automated email from the git hooks/post-receive script.

pere pushed a commit to branch wheezy
in repository sitesummary.

commit 28bbedb6541dd1fd572732b07dee9c01cae53372
Author: Wolfgang Schweer <wschweer at arcor.de>
Date:   Fri Jan 27 16:04:40 2017 +0100

    Adjust sitesummary-upload to be compliant with apache 2.4.25 security fixes (HTTP request). (Closes: #852623).
---
 debian/changelog   |  7 +++++++
 sitesummary-upload | 16 +++++++---------
 2 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f8e2c48..621a0f1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+sitesummary (0.1.8+deb7u2) UNRELEASED; urgency=medium
+
+  * Adjust sitesummary-upload to be compliant with apache 2.4.25 security
+    fixes (HTTP request). (Closes: #852623).
+
+ -- Wolfgang Schweer <wschweer at arcor.de>  Fri, 27 Jan 2017 15:49:50 +0100
+
 sitesummary (0.1.8+deb7u1) wheezy; urgency=low
 
   * No change upload targeted at wheezy-proposed-update for the upcoming 7.2
diff --git a/sitesummary-upload b/sitesummary-upload
index 050aefa..28c19d6 100755
--- a/sitesummary-upload
+++ b/sitesummary-upload
@@ -78,15 +78,13 @@ $form .= "$ORS";
 my $formlen = length($form);
 
 #Send data
-print $remote <<"EOF";
-POST $submiturl HTTP/1.1
-User-Agent: sitesummary-upload
-Host: $host
-content-type: multipart/form-data; boundary=$boundary
-content-length: $formlen
-
-$form
-EOF
+print $remote "POST $submiturl HTTP/1.1\r\n";
+print $remote "User-Agent: sitesummary-upload\r\n";
+print $remote "Host: $host\r\n";
+print $remote "Content-Type: multipart/form-data; boundary=$boundary\r\n";
+print $remote "Content-Length: $formlen\r\n";
+print $remote "\r\n";
+print $remote "$form";
 
 #Get answer
 my($answer)="";

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/upstream/sitesummary.git



More information about the debian-edu-commits mailing list