Merge lp:~leeturner/quam-plures/server_port_fix into lp:quam-plures
Proposed by
Lee Turner
Status: | Merged |
---|---|
Merged at revision: | 7614 |
Proposed branch: | lp:~leeturner/quam-plures/server_port_fix |
Merge into: | lp:quam-plures |
Diff against target: |
12 lines (+1/-1) 1 file modified
qp_install/index.php (+1/-1) |
To merge this branch: | bzr merge lp:~leeturner/quam-plures/server_port_fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tilman Blumenbach (community) | Approve | ||
EdB | Approve | ||
Review via email: mp+72879@code.launchpad.net |
Description of the change
See this thread for details:
http://
My dev machine is set up to use port 8888 and the installer gets it wrong when it is trying to guess the base url. It basically doesn't take into account that the HTTP_HOST variable can also include the port so it adds it twice.
This branch adds a check for the port before trying to add it again.
To post a comment you must log in.
I have no idea if this solution can cause a problem down the road for some other reasonable and realistic situation, and I don't care :) Solves a problem now + doesn't cause any now = approved!
Will merge after an appropriate delay to allow others to do code review and testing.