A TiddlyWeb plugin providing support for / in entity names under Apache.
Project description
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
%2F characters (encoded forward slashes).
Currently Apache supplies the PATH_INFO variable in decoded form.
As a result, all instances of %2F 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/
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
%2F characters (encoded forward slashes).
Currently Apache supplies the PATH_INFO variable in decoded form.
As a result, all instances of %2F 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/
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for tiddlywebplugins.pathinfohack-0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6534b8438c36a3dec50cb06a83744d627234619237fc2401aab3027cca3b7bfb |
|
MD5 | bc881f34da94802b54b539d641a60249 |
|
BLAKE2b-256 | 0d7fce9132c7162c33e044ca78db285c356bb2f94bfbe1de5882f2310e4e06b4 |