tiddlywebplugins.pathinfohack 0.9.1

A TiddlyWeb plugin providing support for / in entity names under Apache

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
Other/Proprietary License
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Oveek
HOMEPAGE:
pypi.python.org
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
tiddlywebplugins.pathinfohack is a TiddlyWeb plugin that remedies an URI encoding problem encountered when running TiddlyWeb under Apache. The plugin reverts the path in the PATH_INFO variable to its undecoded form.

The problem being addressed occurs with URIs containing / characters (encoded forward slashes).

Currently Apache supplies the PATH_INFO variable in decoded form. As a result, all instances of / in the URI are replaced with a / character in PATH_INFO. The Selector is then thrown off since it depends on forward slashes to match handlers. No match, and the requested PUT, GET, DELETE, etc., operation goes unhandled.

Install the plugin by adding 'tiddlywebplugins.pathinfohack' to 'system_plugins' in tiddlywebconfig.py.

config = {
'system_plugins': ['tiddlywebplugins.pathinfohack'],
}


For more info on TiddlyWeb see http://tiddlyweb.com/.

Last updated on March 24th, 2011

requirements

#TiddlyWeb plugin #URI encoding #entity names #TiddlyWeb #URI #encoding #Apache

Add your review!

SUBMIT