I am using SSO based on Cookies to integrate the login from the main site to our forums. The redirection seems to work on everything except Private Messages. When users try to PM before the are logged in, they are redirected to a hodge podge url :
The new code is different that the suggestion posted in the issue page, but if you want to get it working with 2.1.7 instead of waiting for JForum 2.1.8 you can try to hack the source code yourself using that code, that should work ok too.
Rafael [originally posted on jforum.net by Rafael Steil]
i thought it was a problem with something i configured! thanks for the sanity check and the fix
Addendum: I edit the forum with your changes, and got mostly there, but the URL still had problems. I had to change the last part of contextToLogin to remove the encodedPath portion before it would properly redirect. I dont think this is the right solution, but until I get better with the code, it seems to work.