On May 8, 5:20 pm, Oveek <[email protected]> wrote:
> Nice timing. I copied the methodhack plugin, renamed it to
> pathinfohack, and substituted in a method that copies the path portion
> of REQUEST_URI into PATH_INFO.
>
> Appears to do the trick; can now create, save, and delete tiddlers
> with slashes in the title. Dumped in pastebin: http://pastebin.com/m1c8ddf5a.
Awesome! I've taken a slightly modified version of it and installed it
on tiddlyweb.peermore.com and it seems to do the trick:
http://tiddlyweb.peermore.com/wiki/recipes/editor/tiddlers/I'am%20a%20test%20tiddler%20w%2Fslash
My change was simply to wrap a try around the section with the
replaces in it. If you're using a server that doesn't set REQUEST_URI
for some reason this will throw an AttributeError. Doing a pass when
that happens means the plugin will work other places besides Apache
without damage (at least what I've tried so far).
Would you like to fork http://github.com/tiddlyweb/tiddlyweb-plugins/tree/master
and check in your code and we can put it in that main collection?
Or if you want I can just check in my copy and stick your name on it.
I think this will be very useful for plenty of people.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---