[interchange] Remove non-header from BounceReferrals HTTP response headers

Jon Jensen interchange-cvs at icdevgroup.org
Tue May 1 17:01:59 UTC 2018


commit 49e899d758d2461a0abc79c3d0764efb867657b6
Author: Jon Jensen <jon at endpoint.com>
Date:   Tue May 1 10:56:01 2018 -0600

    Remove non-header from BounceReferrals HTTP response headers
    
    This invalid extra quasi-header has been there from the beginning of
    this feature, but recent versions of Apache surfaced it when they started
    throwing a 500 error when seeing a non-header in the header data.

 lib/Vend/Dispatch.pm |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/lib/Vend/Dispatch.pm b/lib/Vend/Dispatch.pm
index ac9bd17..64e183a 100644
--- a/lib/Vend/Dispatch.pm
+++ b/lib/Vend/Dispatch.pm
@@ -1,6 +1,6 @@
 # Vend::Dispatch - Handle Interchange page requests
 #
-# Copyright (C) 2002-2017 Interchange Development Group
+# Copyright (C) 2002-2018 Interchange Development Group
 # Copyright (C) 2002 Mike Heins <mike at perusion.net>
 #
 # This program was originally based on Vend 0.2 and 0.3
@@ -24,7 +24,7 @@
 package Vend::Dispatch;
 
 use vars qw($VERSION);
-$VERSION = '1.116';
+$VERSION = '1.117';
 
 use POSIX qw(strftime);
 use Vend::Util;
@@ -1644,8 +1644,6 @@ EOF
 Status: 301 Moved
 Location: $url
 Content-Type: text/plain
-
-Redirecting to $url
 EOF
 		response($msg);
 #::logDebug("bouncing to $url");



More information about the interchange-cvs mailing list