Apache 4.0.1 and 4.1 web agents add well know port (80 and 443) to the goto URL if it did not exist in the original URL.
If agent URL accessed is http://agent.example.com/someplace
the goto on the redirection to the OpenAM login URL is:
In previous agent versions (ie 3.x) it would be unchanged and the redirection goto would be:
This is causing an issue for a customer as they are using a custom login page and are parsing the goto. This fails as they are not expecting a port in the URL goto parameter.
Ensure that any custom login pages can accept a port in the goto URL.