diff options
author | bptato <nincsnevem662@gmail.com> | 2023-01-08 13:45:53 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-01-08 13:46:26 +0100 |
commit | 7bed16fa67df23f1bd1156e709a4b959b274b2ca (patch) | |
tree | 02c2cf0c57333e6984bd861126dc318eb363fba0 /res | |
parent | 844fec3672b6b3f5da3362798e93036e20e9fac9 (diff) | |
download | chawan-7bed16fa67df23f1bd1156e709a4b959b274b2ca.tar.gz |
res/config, doc/config: encode search query strings
Diffstat (limited to 'res')
-rw-r--r-- | res/config.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/config.toml b/res/config.toml index 968e4626..541f28e3 100644 --- a/res/config.toml +++ b/res/config.toml @@ -27,7 +27,7 @@ force-clear = false [[omnirule]] match = '^ddg:' -substitute-url = '(x) => "https://lite.duckduckgo.com/lite/?kp=-1&kd=-1&q=" + x.split(":").slice(1).join(":")' +substitute-url = '(x) => "https://lite.duckduckgo.com/lite/?kp=-1&kd=-1&q=" + encodeURIComponent(x.split(":").slice(1).join(":"))' [page] q = 'quit()' |