Loading
switch-to-configuration-ng: Escape unit paths in drop-in glob
Unit names may contain backslashes (e.g. from systemd-escape) and the toplevel path is user-influenced; both were previously fed unescaped into glob() where they could be misinterpreted as metacharacters and silently match nothing. Factor the pattern into a helper that escapes the path prefix and use it at all four call sites.