[interchange-cvs] interchange - heins modified lib/Vend/Parse.pm

interchange-core@icdevgroup.org interchange-core@icdevgroup.org
Sat Jul 20 10:57:02 2002


User:      heins
Date:      2002-07-20 14:56:09 GMT
Modified:  lib/Vend Parse.pm
Log:
* Allow bounce targets. Apply patch supplied by Mark Johnson quite a long
  time ago.

Revision  Changes    Path
2.19      +5 -2      interchange/lib/Vend/Parse.pm


rev 2.19, prev_rev 2.18
Index: Parse.pm
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /anon_cvs/repository/interchange/lib/Vend/Parse.pm,v
retrieving revision 2.18
retrieving revision 2.19
diff -u -r2.18 -r2.19
--- Parse.pm	27 Jun 2002 22:24:10 -0000	2.18
+++ Parse.pm	20 Jul 2002 14:56:08 -0000	2.19
@@ -1,6 +1,6 @@
 # Vend::Parse - Parse Interchange tags
 #=20
-# $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>
 #
@@ -35,7 +35,7 @@
=20
 @ISA =3D qw(Exporter Vend::Parser);
=20
-$VERSION =3D substr(q$Revision: 2.18 $, 10);
+$VERSION =3D substr(q$Revision: 2.19 $, 10);
=20
 @EXPORT =3D ();
 @EXPORT_OK =3D qw(find_matching_end);
@@ -650,6 +650,9 @@
 			}
 			$Vend::StatusLine =3D '' if ! $Vend::StatusLine;
 			$Vend::StatusLine .=3D "\n" if $Vend::StatusLine !~ /\n$/;
+			$Vend::StatusLine .=3D <<EOF if $attr->{target};
+Window-Target: $attr->{target}
+EOF
 			$Vend::StatusLine .=3D <<EOF;
 Status: 302 moved
 Location: $attr->{href}