Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1327

Logout only works for one URL

    XMLWordPrintable

Details

    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.

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: