Bugfix for cleanUpURLIfNeeded to remove everything in front of the path. This will allow using links provided by actions using SSO login option without having to specify the domain in the settings. This should work (but still has to be tested) for the username/password login method as well since the domain is given by the link itself.
I also removed the result2 test in the UtilTest.java since using the link the protocol is always provided.
Bugfix for cleanUpURLIfNeeded to remove everything in front of the path. This will allow using links provided by actions using SSO login option without having to specify the domain in the settings. This should work (but still has to be tested) for the username/password login method as well since the domain is given by the link itself. I also removed the result2 test in the UtilTest.java since using the link the protocol is always provided.