diff options
author | bptato <nincsnevem662@gmail.com> | 2024-01-08 00:37:54 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-01-08 00:37:54 +0100 |
commit | b0547ba9f48bf402665b89f84b88b80ee58d8824 (patch) | |
tree | 39bf645df6ea365f912040255eb136c5deafe2b1 /src/config | |
parent | 10a02b2ae2613b383453ba99318330560e9371ac (diff) | |
download | chawan-b0547ba9f48bf402665b89f84b88b80ee58d8824.tar.gz |
Add urlenc, urldec; fix a URL encoding bug; improve trans.cgi
* Fix incorrect internal definition of the fragment percent-encode set * urlenc, urldec: these are simple utility programs mainly for use with shell local CGI scripts. (Sadly the printf + xargs solution is not portable.) * Pass libexec directory as an env var to local CGI scripts * Update trans.cgi to use urldec and add an example for combining it with selections
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/chapath.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/chapath.nim b/src/config/chapath.nim index adf852a0..a2800c6c 100644 --- a/src/config/chapath.nim +++ b/src/config/chapath.nim @@ -9,7 +9,7 @@ import js/tojs import types/opt import utils/twtstr -const libexecPath {.strdefine.} = "${%CHA_BIN_DIR}/../libexec/chawan" +const libexecPath* {.strdefine.} = "${%CHA_BIN_DIR}/../libexec/chawan" type ChaPath* = distinct string |