[systemd-devel] [PATCH] unit-name: fix escaping logic in unit_name_mangle_with_suffix().

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Nov 26 21:34:45 PST 2014


On Tue, Nov 25, 2014 at 09:58:14PM +0300, Ivan Shapovalov wrote:
> Make screened character set consistent with unit_name_mangle() by splitting off
> the escaping loop into a separate function.
> 
> Before this fix, unit names such as `foo at bar.target` would get transformed
> into `foo\x40bar.target` when unit_name_mangle_with_suffix() is used.
> 
> https://bugs.freedesktop.org/show_bug.cgi?id=86711
Thanks, applied.

Zbyszek


More information about the systemd-devel mailing list