Skip to content

Commit

Permalink
* Allow bounce targets. Apply patch supplied by Mark Johnson quite a …
Browse files Browse the repository at this point in the history
…long

  time ago.
  • Loading branch information
perusionmike committed Jul 20, 2002
1 parent bcc611a commit 67150e3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/Vend/Parse.pm
@@ -1,6 +1,6 @@
# Vend::Parse - Parse Interchange tags
#
# $Id: Parse.pm,v 2.18 2002-06-27 22:24:10 jon Exp $
# $Id: Parse.pm,v 2.19 2002-07-20 14:56:08 mheins Exp $
#
# Copyright (C) 1996-2002 Red Hat, Inc. <interchange@redhat.com>
#
Expand Down Expand Up @@ -35,7 +35,7 @@ require Exporter;

@ISA = qw(Exporter Vend::Parser);

$VERSION = substr(q$Revision: 2.18 $, 10);
$VERSION = substr(q$Revision: 2.19 $, 10);

@EXPORT = ();
@EXPORT_OK = qw(find_matching_end);
Expand Down Expand Up @@ -650,6 +650,9 @@ sub start {
}
$Vend::StatusLine = '' if ! $Vend::StatusLine;
$Vend::StatusLine .= "\n" if $Vend::StatusLine !~ /\n$/;
$Vend::StatusLine .= <<EOF if $attr->{target};
Window-Target: $attr->{target}
EOF
$Vend::StatusLine .= <<EOF;
Status: 302 moved
Location: $attr->{href}
Expand Down

0 comments on commit 67150e3

Please sign in to comment.