My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 61: Login fails when using non-standard server port
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Jul 2012


 
Reported by jason.ma...@gmail.com, Jul 8, 2012
If you use a non-standard server port, login will fail because the port is dropped from the return URL when using default settings.  LightOpenID::__construct($host) should handle the port number and include it when building trustRoot and returnURL if port isn't a standard port number for the protocol.

Jul 13, 2012
Project Member #1 mewp...@gmail.com
It does work if you put "example.org:8080" as your hostname.

If you'd want to automatically detect the port number -- I don't know of a sane way of doing this. `$_SERVER['SERVER_PORT']` doesn't work, because it returns the port number the server listens on, not the port number that was accessed -- this isn't the same in all cases (for example, when redirecting ports on a firewall).
Status: WontFix

Powered by Google Project Hosting