Skip to content

Commit

Permalink
Remove non-header from BounceReferrals HTTP response headers
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jonjensen committed May 1, 2018
1 parent a1b8d84 commit 49e899d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions 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@perusion.net>
#
# This program was originally based on Vend 0.2 and 0.3
Expand All @@ -24,7 +24,7 @@
package Vend::Dispatch;

use vars qw($VERSION);
$VERSION = '1.116';
$VERSION = '1.117';

use POSIX qw(strftime);
use Vend::Util;
Expand Down Expand Up @@ -1644,8 +1644,6 @@ EOF
Status: 301 Moved
Location: $url
Content-Type: text/plain
Redirecting to $url
EOF
response($msg);
#::logDebug("bouncing to $url");
Expand Down

0 comments on commit 49e899d

Please sign in to comment.