Fixed Bug: Punctuation in page titles still problematic
—
!!1!
!
Not sure if this is general,
but if using apache to proxy forward onto the webrick server
(as occurs on
http://soks.counsell.org )
, punctuation in the
title sometimes stops apache from forwarding the request.
!
!2!
!
—
!!3!
!
E.g.
Bug:
[FATAL]
When renaming upload
/ picture pages exists,
but apache doesn’t even pass the request
—
!!4!
!
—
!!5!
!
To be specific:
!
!6!
!
—
!!7!
!
Slashes,
and colons definitely work,
quesion marks and square brackets definitely don’t.
Others sometimes work.
!
!8!
!
Ok.
The action I think I’m going to take is:
—
!!9!
!
>
—
!!10!
!
Try and get the wiki to accept question marks by grabbing it back from Webrick’s form parsing
—
!!11!
!
!
!12!
!
Have the wiki replace square brackets so that you can always access a page you have created.
!
!13!
!
—
!!14!
!
—
!!15!
!
In the mean time,
you can create a warning for users by adding:
!
!16!
!
!
!17!
!
!
!18!
!
!
!19!
!
!
!20!
!
—
!!21!
!
in the
!
!22!
!
!
!23!
!
of your views/frame.rhtml file,
and then add an:
!
!24!
!
—
!!25!
!
!
!26!
!
!
!27!
!
!
!28!
!
!
!29!
!
!
!30!
!
—
!!31!
!
to the end of the
title input boxes in your views/Page_edit.rhtml and views/UploadPage_edit.rhtml
—
!!32!
!
!
!33!
!
—
!!34!
!
How would you modify the javascript regexp to also include an ampersand character,
i.e.
, does it need to be escaped?
(
bug:
ampersand in page name creates missing links that work)
Bil Updated above
—
tamc2 Need to also update the message?
Bil !
!35!
!
—
!!36!
!
—
!
!37!
!
—
!!38!
!
This has been fixed in v-0-0-6.
!
!39!
!