[dokuwiki] URL changes after logging in?

  • From: "Daniel Mitchell" <DanielMitchell@xxxxxxxxxxxxx>
  • To: <dokuwiki@xxxxxxxxxxxxx>
  • Date: Fri, 28 Jul 2006 12:55:34 -0600

 I'm not sure if this is a bug or not, but it's very annoying. Repro:

 Repro: 

 log out of the wiki
 go to start page of the wiki: http://wiki.foo.com/wiki/doku.php
 click on a link to an ACL-protected page:
http://wiki.foo.com/wiki/doku.php?id=secretproject:start
 it'll say "you don't have access, please log in".
 click on login button, log in. URL is
http://wiki.foo.com/wiki/doku.php?do=login&id=secretproject%3Astart
 now I'm seeing the secretproject:start page, but the URL in my browser
is http://wiki.foo.com/wiki/doku.php

 And this is where the annoyance happens -- go to another page from the
secretproject:start page. Fine; URL is
http://wiki.foo.com/wiki/doku.php?id=secretproject:anotherpage.

 Now hit "back" in the browser. The browser's history takes me to
http://wiki.foo.com/wiki/doku.php -- but now I see the "The page you are
trying to view contains POSTDATA that has expired from cache. ... please
click OK to re-send that data" dialog, and I'll see that page every time
I go back in the history to the first page I saw after logging in.

 This happens _all the time_ here -- we use the wiki for documentation,
and we often look at that documentation in meetings. The PCs in meeting
rooms are logged in as a generic account, so in every meetings, someone
goes to the wiki to look up docs for their project, and then has to log
into dokuwiki to get access. That's fine, but then the "POSTDATA" dialog
comes up as you navigate around.

 A workaround is to use the breadcrumbs to fix the URL that the browser
sees by going to the 'current' page again, and then it'll be at
http://wiki.foo.com/wiki/doku.php?id=secretproject:start and everything
works. 

 But is there some way to get dokuwiki to navigate to the correct page
after logging in?

 thanks,

 -- dan
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts:

  • » [dokuwiki] URL changes after logging in?