Skip to main content

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/

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

tiddlywebplugins.pathinfohack-0.9.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file tiddlywebplugins.pathinfohack-0.9.tar.gz.

File metadata

File hashes

Hashes for tiddlywebplugins.pathinfohack-0.9.tar.gz
Algorithm Hash digest
SHA256 e1e68f4a9225143a2c8be72cd0d0a302c6181afff7a02d7885d1c4d3764e5ddc
MD5 60cf8630034aaa63dbe07a601ce1e123
BLAKE2b-256 fd4525fd74bcb859b15684f8563ef9af645d249fcd70403f7e181422f1de37e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page