[ic] Detecting a secure page

Kevin Walsh kevin at cursor.biz
Tue Jun 13 19:40:30 EDT 2006


Grant <emailgrant at gmail.com> wrote:
> I can confirm those results on my Apache2+Interchange::Link setup.
> 
I haven't tested this, but I've been looking at the Interchange::Link
code and may have a lead.

Backup your Link.pm module and try the following patch:

*** Link.pm-    Wed Jun 14 00:37:36 2006
--- Link.pm     Wed Jun 14 00:39:13 2006
***************
*** 483,489 ****

  #warn("Connection=$c");

-     my (@tmp) = keys %ENV;
      my ($str);
      my $val = '';
      my $count = 0;
--- 483,488 ----
***************
*** 558,564 ****
          my $val = $r->headers_in->{$_};
          my $k = uc $_;
          $k =~ s/-/_/g;
-         $k =~ s/-/_/g;
          $k = $header_map{$k} || "HTTP_$k";
          $header{$k} = $val;
  #warn "header $_/$k=$val\n";
--- 557,562 ----
***************
*** 572,577 ****
--- 570,576 ----
          QUERY_STRING    => $query,
          REMOTE_ADDR     => $c->remote_ip,
          %header,
+         %ENV,
      );

      while (@pairs) {

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/


More information about the interchange-users mailing list