Changeset 759
- 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
| r743 |
r759 |
|
| 223 | 223 | $info = parse_url($_SERVER['HTTP_REFERER']); |
|---|
| 224 | 224 | 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 | ) { |
|---|
| 226 | 229 | set_page_message(tr('Request from foreign host was blocked!')); |
|---|
| 227 | 230 | redirect_to_level_page(); |
|---|
|
Download in other formats:
#########################################################################
# Site footer - Contents are automatically inserted after main Trac HTML
?>