diff options
author | bptato <nincsnevem662@gmail.com> | 2023-11-17 23:19:17 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-11-17 23:19:17 +0100 |
commit | 6b2226febd53a75dc4d45963dd8f7ab8249d78dc (patch) | |
tree | 4d9f52ad15c0c9e4b77023ca802c2e6aa729c7a0 /doc | |
parent | 85c5b568510e3be46252a0857e412ef0f66eb6de (diff) | |
download | chawan-6b2226febd53a75dc4d45963dd8f7ab8249d78dc.tar.gz |
urimethodmap: do not escape substituted URI
This is consistent with what w3m does and is way more convenient.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/urimethodmap.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/urimethodmap.md b/doc/urimethodmap.md index 4bb0d645..4b1bdf06 100644 --- a/doc/urimethodmap.md +++ b/doc/urimethodmap.md @@ -58,8 +58,10 @@ protocol /cgi-bin/interpret-protocol?%s ``` The redirection template is the target URL. If the string `%s` is contained -in the template, it will be replaced by the target URL encoded with the -component percent encode set (i.e. EcmaScript's encodeURIComponent). +in the template, it will be replaced by the target URL. + +Note: Chawan used to URL-encode the substituted URL in the past, but this is +no longer the case. For compatibility with w3m, templates starting with `/cgi-bin/` and `file:/cgi-bin/` are special-cased and the starting string is replaced with |