aboutsummaryrefslogtreecommitdiff
path: root/Makefile.config.in
diff options
context:
space:
mode:
authorSheng Yang <styang@fastmail.com>2023-01-14 03:46:11 +0800
committerSheng Yang <styang@fastmail.com>2023-01-14 03:46:11 +0800
commit7c08144c4ab0082e9ac48e829de755fd861a0ca7 (patch)
tree2ec21b107e520018feae8b81cccf97e7a3688b1b /Makefile.config.in
parentd21f54958ebc3400ca41e0458338e6a90bd47fbe (diff)
Add escape for systemd service in installer script
Among all the characters that are allowed in a URL, both the percentage sign "%" and the single quotation mark "'" needs escaping when written as a environment variable in a systemd service file. While the single quotation mark may be rare, the percentage sign is widely used to escape characters in a URL. This is especially common in proxy setting, where username and password may contain special characters that need percentage escaping. This patch applies the following replacements: % -> %% ' -> \'
Diffstat (limited to 'Makefile.config.in')
0 files changed, 0 insertions, 0 deletions