Changeset 759

Show
Ignore:
Timestamp:
08/20/07 10:50:06 (1 year ago)
Author:
gnif
Message:

Fixed bug in login.php with the change to port 3400

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/ssl-addon/trunk/gui/include/login.php

    r743 r759  
    223223            $info = parse_url($_SERVER['HTTP_REFERER']); 
    224224            if (isset($info['host']) && !empty($info['host'])) { 
    225                 if ($info['host'] != $_SERVER['HTTP_HOST']) { 
     225                if ( 
     226                        ($info['host'] != $_SERVER['HTTP_HOST']) && 
     227                        ($info['host'] . ":" . $info['port'] != $_SERVER['HTTP_HOST']) 
     228                ) { 
    226229                    set_page_message(tr('Request from foreign host was blocked!')); 
    227230                    redirect_to_level_page();