Permalink
Browse files

Comment out broken code (for now).

  • Loading branch information...
1 parent 50bfee7 commit b59e2914eb6e94b3d4920bd8ecef324a396299d6 @jamiemccarthy jamiemccarthy committed Jul 16, 2002
Showing with 5 additions and 3 deletions.
  1. +5 −3 Slash/Utility/Environment/Environment.pm
@@ -1042,9 +1042,11 @@ sub setCookie {
# Need to scan the connection class to find this information.
# (I'll do it later). This may also be in $r->protocol -Brian
# Brian advises port() is the best way, yes it's icky -Jamie
- if ($constants->{cookiesecure} && $r->port == 443) {
- $cookiehash{-secure} = 1;
- }
+# This doesn't work yet! I think I want $r->connection->local_addr
+# (and then unpack it and look at the port) - Jamie
+# if ($constants->{cookiesecure} && $r->port == 443) {
+# $cookiehash{-secure} = 1;
+# }
my $cookie = Apache::Cookie->new($r, %cookiehash);

0 comments on commit b59e291

Please sign in to comment.