about summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-06-08 21:30:32 +0200
committerbptato <nincsnevem662@gmail.com>2024-06-08 21:47:19 +0200
commitdee468d502a2d2e0aa6ae2f8365c098f72acc0c9 (patch)
tree8700f96705e1e9f12122539c81047b43d6992a8b /doc
parentbb0605182a3944418f74e1f5269916d4d0298190 (diff)
downloadchawan-dee468d502a2d2e0aa6ae2f8365c098f72acc0c9.tar.gz
pager, buffer: improve forms, protocol config
* refactor form submission
* add options to specify form handling per protocol
* block cross-protocol POST requests
Diffstat (limited to 'doc')
-rw-r--r--doc/config.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/config.md b/doc/config.md
index d7b92723..d3abdb22 100644
--- a/doc/config.md
+++ b/doc/config.md
@@ -34,6 +34,7 @@ examples.
 * [External](#external)
 * [Network](#network)
 * [Display](#display)
+* [Protocol](#protocol)
 * [Omnirule](#omnirule)
 * [Siteconf](#siteconf)
 * [Stylesheets](#stylesheets)
@@ -476,6 +477,30 @@ fallback values provided above.</td>
 
 </table>
 
+## Protocol
+
+Protocol-related rules are to be placed in objects keyed as
+`[protocol.{protocol-name}]`. e.g. FTP related rules are placed in in
+`[protocol.ftp]`.
+
+<table>
+
+<tr>
+<th>Name</th>
+<th>Value</th>
+<th>Function</th>
+</tr>
+
+<tr>
+<td>form-request</td>
+<td>http, ftp, data, mailto</td>
+<td>Specify which protocol to imitate when submitting forms to this
+protocol.<br>
+Defaults to HTTP.</td>
+</tr>
+
+</table>
+
 ## Omnirule
 
 The omni-bar (by default opened with C-l) can be used to perform searches using