Open cabo opened 3 months ago
Hacking lisp/url-util.el to say
(defconst url-path-allowed-chars
(let ((vec (copy-sequence url-host-allowed-chars)))
(aset vec ?/ t)
(aset vec ?: t)
(aset vec ?@ t)
(aset vec ?% nil)
vec)
"Allowed-character byte mask for the path segment of a URI.
These characters are specified in RFC 3986, Appendix A.")
(the (aset vec ?% nil)
is new) fixes this for me.
Are you maybe using url-build-query-string
in an unexpected way?
When checking text (
langtool-check
) that contains one or more percent characters (%), I get:Tested with languagetool-server from LanguageTool 6.0 via HTTP (obviously). Server-side log:
Apparently, something is amiss with percent-encoding.
langtool 20230222.326 installed