Anonymous | Login | Signup for a new account | 2023-06-03 06:23 CDT | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Viewing Issue Simple Details [ Jump to Notes ] [ Wiki ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update | ||
0000993 | [In-Portal CMS] Data Management | bug report | always | 2011-02-05 08:26 | 2011-09-19 16:09 | ||
Reporter | alex | View Status | public | Project Name | In-Portal CMS | ||
Assigned To | alex | Developer | |||||
Priority | normal | Resolution | fixed | Fixed in Version | 5.1.3-B1 | ||
Status | closed | Product Version | 5.1.2-B1 | Target Version | 5.1.3 | ||
Time Estimate | No estimate | ||||||
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. |
||||||
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. |
||||||
Tags | No tags attached. | ||||||
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 | ||||||
Attached Files |
![]() ![]() |
||||||
|
![]() |
|
![]() |
|
![]() Dmitry (manager) 2011-03-08 18:17 |
Tested good! |
![]() alex (manager) 2011-05-20 03:04 |
Fix committed to 5.1.x branch. Commit Message: Fixes 0000993: Unable to login to Admin Console, when web-server is installed on non-default port |
![]() alex (manager) 2011-09-19 16:09 |
Closing, since 5.1.3 release has been released. |
![]() |
|||
In-Portal CMS: 5.1.x r14323 Timestamp: 2011-05-20 03:04:26 Author: alex [ Details ] [ Diff ] |
Fixes 0000993: Unable to login to Admin Console, when web-server is installed on non-default port | ||
mod - /in-portal/branches/5.1.x/core/kernel/startup.php | [ Diff ] [ File ] | ||
mod - /in-portal/branches/5.1.x/core/kernel/utility/debugger.php | [ Diff ] [ File ] | ||
![]() |
|||
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 |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |