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

Wolfgang Schweer schweer-guest at moszumanska.debian.org
Fri Jan 27 15:22:14 UTC 2017


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

schweer-guest pushed a commit to branch master
in repository sitesummary.

commit 264bcc45a509adb051c4f89072b79e8d270ca705
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 a4fcb9d..5549079 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+sitesummary (0.1.28) 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.27) unstable; urgency=medium
 
   * Apply patch by Bas Couwenberg to use Icinga instead of Nagios, as nagios3
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