[pmwiki-users] anchor in url prevents editing
Tegan Dowling
tmdowling at gmail.com
Mon Apr 16 06:32:07 CDT 2007
On 4/15/07, H. Fox <haganfox at users.sourceforge.net> wrote:
> On 4/15/07, JB <jbit at bitlink.com> wrote:
> > Having an anchor in a url makes "?action=edit" stop working.
> >
> > For example at url:
> >
> > http://gnuzoo.org/test/AdvancedTableDirectives#zebratables
> >
> > try to edit via URL:
> >
> > http://gnuzoo.org/test/AdvancedTableDirectives#zebratables?action=edit
> >
> > It does not go to the editor. Is there a way to fix this?
>
> The # is a " fragment identifier" used by the browser only. Nothing
> after the # is sent to the server because the # defines the end of a
> query string. ?action=edit needs to be to the left of the # .
>
> Hagan
>
> http://www.w3.org/TR/2003/WD-xhtml2-20030506/mod-hypertext.html
So, somehow, clicking an "edit" link ought to first remove any
trailing "fragments" and then append the ?action=edit. Would this
require javascript or something like that?
More information about the pmwiki-users
mailing list