Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.1 M1
-
None
Description
It's so hard to logout from XWiki, if you don't have a link (and sometimes it's hard even with a logout link, see below).
I think that any request for the /<anycontext>/<anyservletmapping>/logout/<anyspace>/<anypage> should be a successful logout. But no, you have to match exactly /<anycontext>/bin/logout/XWiki/XWikiLogout . This means that /<anycontext>/bin/logout/Some/Page would not work. Not even /<anycontext>/xwiki/logout/XWiki/XWikiLogout works (notice /context/xwiki/ instead of /context/bin/, and AFAIK /xwiki/ is the same as /bin/). This means that once you are using the /xwiki/ servlet mapping, you can't logout, because the URLFactory preserves the mapping.