In-Portal Issue Tracker - In-Portal CMS
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Type: | Reproducibility: | Date Submitted: | Last Update: |
993 | [In-Portal CMS] Data Management | bug report | always | 2011-02-05 08:26 | 2011-09-19 16:09 |
|
|||||
Reporter: | alex | Platform: | |||
Assigned To: | alex | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 5.1.2-B1 | ||
Product Build: | Resolution: | fixed | |||
ETA: | none | Fixed in Version: | 5.1.3-B1 | ||
Reference: | https://groups.google.com/d/topic/in-portal-bugs/sZsILJ6bk9E/discussion | ||||
Change Log Message: | Fixed non-default port usage, when accessing In-Portal from a web-browser | ||||
Estimate Points: | 0 | ||||
|
|||||
Summary: | 0000993: Unable to login to Admin Console, when web-server is installed on non-default port | ||||
Description: |
I have In-Portal installation on 8080 port instead of 80 port, which is default. Because of that I have to specify port each time I visit website like this: http://www.site-name.com:8080/admin/ Unfortunate effect of that is that $_SERVER['HTTP_HOST'] variable also contains that port, but since it's used for cookie setting no cookies are set at the end. I propose to strip value of PORT constant from end of SERVER_NAME constant (which is set to $_SERVER['HTTP_HOST'] by default). It's also safe for IPv6 protocol. |
||||
Steps To Reproduce: | |||||
Additional Information: |
Unfortunate side effect is inability to login to Admin Console, since it's uses cookie-based session. Also today $_SERVER['HTTP_PORT'] variable is no longer provided to PHP (tested on Apache 1.3, Apache 2.2, PHP 4.4, PHP 5.2.1) and it's being replaced by $_SERVER['SERVER_PORT'] in attached patches. |
||||
Relationships | |||||
Attached Files: |
non_standart_http_port_issue_in_debugger.patch (663) 2011-02-05 08:26 http://tracker.in-portal.org/file_download.php?file_id=934&type=bug non_standart_http_port_issue.patch (1,895) 2011-02-05 08:26 http://tracker.in-portal.org/file_download.php?file_id=935&type=bug |
||||
|
|||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-09-19 16:09 | alex | Note Added: 0003868 | |||
2011-09-19 16:09 | alex | Status | resolved => closed | ||
2011-05-20 03:04 | alex | Note Added: 0003431 | |||
2011-05-20 03:04 | alex | Status | reviewed and tested => resolved | ||
2011-05-20 03:04 | alex | Fixed in Version | => 5.1.3-B1 | ||
2011-05-20 03:04 | alex | Resolution | open => fixed | ||
2011-05-20 03:04 | alex | Assigned To | !COMMUNITY => alex | ||
2011-05-20 03:04 | alex | Changeset attached | 5.1.x r14323 | ||
2011-04-04 11:49 | Dmitry | Target Version | Icebox => 5.1.3 | ||
2011-03-08 18:17 | Dmitry | Note Added: 0003291 | |||
2011-03-08 18:17 | Dmitry | Status | needs testing => reviewed and tested | ||
2011-02-05 08:26 | alex | Assigned To | => !COMMUNITY | ||
2011-02-05 08:26 | alex | Developer | => alex | ||
2011-02-05 08:26 | alex | Status | active => needs testing | ||
2011-02-05 08:26 | alex | File Added: non_standart_http_port_issue.patch | |||
2011-02-05 08:26 | alex | File Added: non_standart_http_port_issue_in_debugger.patch | |||
2011-02-05 08:26 | alex | New Issue | |||
2011-02-05 08:26 | alex | Reference | => https://groups.google.com/d/topic/in-portal-bugs/sZsILJ6bk9E/discussion | ||
2011-02-05 08:26 | alex | Change Log Message | => Fixed non-default port usage, when accessing In-Portal from a web-browser |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|