Bug: Trailing slash on root url causes recursive redirect
—
!!1!
!
Please click in the box above and give a meaningful
title, then fill out any information below that you can.
It is all optional,
and I’m grateful for whatever you provide.
!
!2!
!
—
!!3!
!
>
—
!!4!
!
Your name:Daniel Barlow
—
!!5!
!
!
!6!
!
Soks version:
!
!7!
!
!
!8!
!
Your operating system:
Linux
—
!!9!
!
!
!10!
!
Your version of
ruby:1.8.2
(2005-04-11)
[i386-linux]
!
!11!
!
!
!12!
!
Your browser:
Firefox
—
!!13!
!
—
!!14!
!
—
!!15!
!
And please describe the problem below:
!
!16!
!
—
!!17!
!
soks seems to cope badly when soks-create-wiki.rb is given a URL with a trailing slash
—!!18!!-
—
!!19!
!
dan@btyemark:~
$ soks-create-wiki.rb
No wiki found at soks-wiki.
Create a new one?
[y]
y
What folder should I put the wiki in?
[soks-wiki]
Which template should I use to create the wiki?
[default]
What url will this wiki be accessed from
(include the port)
?
[
http://localhost:8000]
http://www.coruskate.net:8000/
What port will this wiki be accessed from?
[8000]
!
!20!
!
—
!!21!
!
This breaks the redirect from the site root to
/view/HomePage,
and causes none of the CSS files to be found.
!
!22!
!
—
!!23!
!
BTW,
is it normal that it should print
“INFO
—
:
Refreshing
..
.”
messages every second apparently indefinitely?
There’s nobody else editing those pages every second,
it seems a bit verbose.
OK, ignore that, it’s stopped now. Guess that was the page cache generation —
!!24!
!