Oops. Sorry, I flunked hex-encoded character decoding and didn't notice that %3B was
not a question-mark (and also forgot that the semicolon was the separator for jsessionid).
However, I don't think that this was his problem because unless XWiki actually does
now have an XWiki.XWikiLogin page that actually does something under the "view"
action, the URL is wrong with or without the session ID.
And I'm too busy to look it up now, but I didn't think that URL-encoding the
parameters kills the separators.
brain[sic]
________________________________
From: Vincent Massol [mailto:vincent@massol.net]
Sent: Thursday, June 21, 2007 5:41 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Xwiki login issue after upgrading
Hi Hans,
On Jun 21, 2007, at 12:08 PM, PRÜLLER Hans Jörg wrote:
Hi,
We upgraded our standalone wiki installation (jetty,hsql) 1.0-rc1 to 1.1-milestone-2
recently.
We backed up all spaces of the old installation and copied/restored them into the new
installation.
Now, if we directly try to access a page in a space restored from the old installation
we get
An error page after the successful login:
E.g. accessing the following url directly via browser:
http://asj5.linzag.at:9021/xwiki/bin/view/DS/Webhome
<http://asj5.linzag.at:9021/xwiki/bin/view/DS/Webhome>
Brings up the login page, after successful login:
The requested document could not be found.
The Browser URL is: xwiki/bin/view/XWiki/XWikiLogin%3Bjsessionid%3D3f3igkglkf9b7
So, somehow the login page tries to forward to a wrong URL after successful login.
Entering the requested URL
Manually again in logged in state, the page appears without any problem.
Any idea what the problem could be?
Several users have raised this. I don't know yet what is causing the issue but it
seems the ";" before jsession id is URL-encoded and it shouldn't. In any
case just delete the part after the page name:
xwiki/bin/view/XWiki/XWikiLogin
That should work fine I think.
In any case we need to create a jira issue about this. Would you mind doing that and
explain how I can reproduce this? (I've tried without success)
Thanks
-Vincent