row in sites/settings.php:
$domain = '.'. preg_replace('`^www.`', '', $_SERVER['HTTP_HOST']);
should be changed to
$domain = '.'. preg_replace('`^www\.`', '', $_SERVER['HTTP_HOST']);
(screened point symbol in regexp)
my "www1.mydomain.com" converted in "..mydomain.com", that works in last versions of Opera and FF, but don't work in IE6,7

CommentFileSizeAuthor
#1 settings_preg.patch823 bytesChrisKennedy

Comments

ChrisKennedy’s picture

Title: problem with session.cookie_domain in settings.php » Regex error with session.cookie_domain in settings.php
Version: 5.x-dev » 6.x-dev
Status: Active » Needs review
StatusFileSize
new823 bytes

Good catch - surprising that no one noticed it in the original issue (http://drupal.org/node/117917).

Here's a patch against HEAD.

dries’s picture

Status: Needs review » Fixed

Committed to CVS HEAD and DRUPAL-5. Thanks! :)

Anonymous’s picture

Status: Fixed » Closed (fixed)