Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Commit

Permalink
Insufficient escaping of percent sign in systemd unit file
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Francois Panisset committed Sep 28, 2018
1 parent d91e535 commit 1486c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/slapd.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ OnFailure=unit-failed@%n.service

[Service]
Type=forking
ExecStart=/usr/sbin/slapd -u {{ slapd_user }} -g {{ slapd_group }} -F {{ slapd_olc_dir }} -h 'ldapi://{{ slapd_ldapi_socket | urlencode() | regex_replace('/', '%2F') }} ldap://[::] ldaps://[::]'
ExecStart=/usr/sbin/slapd -u {{ slapd_user }} -g {{ slapd_group }} -F {{ slapd_olc_dir }} -h 'ldapi://{{ slapd_ldapi_socket | urlencode() | regex_replace('/', '%%2F') }} ldap://[::] ldaps://[::]'
PIDFile={{ slapd_run_dir }}/slapd.pid
SyslogFacility=local4
# Security
Expand Down

0 comments on commit 1486c23

Please sign in to comment.