-
Type: Bug Report
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.1.2-B1
-
Fix Version/s: 5.1.3-B1
-
Component/s: Data Management
-
Labels:None
-
External issue URL:
-
Additional information:
-
Change Log Message:Fixed non-default port usage, when accessing In-Portal from a web-browser
-
External issue ID:993
-
Copy Issue Key:
-
Patch Instructions:
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.
- mentioned in
-
Page Loading...