[twdev] Re: TiddlyWeb on Apache: problem with slashes (%2F decoded in PATH_INFO)

2009-05-10 Thread cd...@peermore.com
On May 10, 8:24 am, Oveek wrote: > Okay, committed the plugin. It's in there: http://github.com/tiddlyweb/tiddlyweb-plugins/tree/master/pathinfohack --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "TiddlyWikiDev"

[twdev] Re: TiddlyWeb on Apache: problem with slashes (%2F decoded in PATH_INFO)

2009-05-10 Thread Oveek
Okay, committed the plugin. > On May 9, 1:27 am, "cd...@peermore.com" wrote: > > > On May 8, 5:20 pm, Oveek 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_INF

[twdev] Re: TiddlyWeb on Apache: problem with slashes (%2F decoded in PATH_INFO)

2009-05-09 Thread Oveek
Cool! Glad it's working. Sure I'll go ahead and fork it, add the try, and check it in. This will give me a chance to jump in and try using github. On May 9, 1:27 am, "cd...@peermore.com" wrote: > On May 8, 5:20 pm, Oveek wrote: > > > Nice timing. I copied the methodhack plugin, renamed it to >

[twdev] Re: TiddlyWeb on Apache: problem with slashes (%2F decoded in PATH_INFO)

2009-05-09 Thread Oveek
On May 9, 1:27 am, "cd...@peermore.com" wrote: > 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%2... > >My change was simply to wrap a try aro

[twdev] Re: TiddlyWeb on Apache: problem with slashes (%2F decoded in PATH_INFO)

2009-05-09 Thread Oveek
On May 9, 1:27 am, "cd...@peermore.com" wrote: > 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%2... > >My change was simply to wrap a try aro

[twdev] Re: TiddlyWeb on Apache: problem with slashes (%2F decoded in PATH_INFO)

2009-05-08 Thread cd...@peermore.com
On May 8, 5:20 pm, Oveek 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 ti

[twdev] Re: TiddlyWeb on Apache: problem with slashes (%2F decoded in PATH_INFO)

2009-05-08 Thread Oveek
> If you have a look at the methodhack code plugin I check in yesterday > I think you'll see a good model for how to add your own request filter > that does the right thing. > > That's at: > > http://github.com/tiddlyweb/tiddlyweb-plugins/blob/master/methodhack/... Nice timing. I copied the metho

[twdev] Re: TiddlyWeb on Apache: problem with slashes (%2F decoded in PATH_INFO)

2009-05-07 Thread Graham Dumpleton
On May 8, 3:23 am, "cd...@peermore.com" wrote: > On May 7, 4:54 pm, Oveek wrote: > > > Oops that should be: > > > PATH_INFO = REQUEST_URI.replace(SCRIPT_NAME, "", 1) > > Yes, I considered something like this, but REQUEST_URI is not required > by the WSGI spec so is not always present from all

[twdev] Re: TiddlyWeb on Apache: problem with slashes (%2F decoded in PATH_INFO)

2009-05-07 Thread cd...@peermore.com
On May 7, 4:54 pm, Oveek wrote: > Oops that should be: > > PATH_INFO = REQUEST_URI.replace(SCRIPT_NAME, "", 1) Yes, I considered something like this, but REQUEST_URI is not required by the WSGI spec so is not always present from all servers, so I could not figure out a solution that would work

[twdev] Re: TiddlyWeb on Apache: problem with slashes (%2F decoded in PATH_INFO)

2009-05-07 Thread Oveek
Oops that should be: PATH_INFO = REQUEST_URI.replace(SCRIPT_NAME, "", 1) On May 7, 11:45 pm, Oveek wrote: > Hey all, fell off the map for quite a while; but I've been keeping > tabs on TiddlyWeb, watching things progress nicely. I'm still using > TiddlyWeb and MonkeyGTD regularly, and have been