Menu

#13 apostrophe sometimes breaks action="edit"

open
5
2004-10-22
2004-10-22
Anonymous
No

I noticed that an apostrophe in a page name sometimes breaks the
{action name="edit"} feature. specifically, when logged in as
editor and with an {if permit="editable"} block added to the left or
right column, an {action name="edit"} for a page with an
apostrophe in it will not work correctly, but will try to edit a page
with a name based on the characters before the apostrophe.

EXAMPLE:

you have a page name [[I'm_a_Bad_Page]]
(I use free links, so I'm not sure if it happens with WikiWords)

when you click on an edit action link embedded in a
permit=editable block, it tries to edit the page named [[I]]

when you click on the "Edit This Page" link in the page footer, it
edits the correct page [[I'm_a_Bad_Page]]

Discussion


Log in to post a comment.

MongoDB Logo MongoDB