Revert "shared/conf-parser,networkd: EXTRACT_UNQUOTE|EXTRACT_RETAIN_ESCAPE → EXTRACT_...
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 14 Aug 2019 15:41:31 +0000 (17:41 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 19 Aug 2019 07:54:06 +0000 (09:54 +0200)
commitadfafd88b2c960e4e27ce1c292234d146d56b4ae
treeaf785e15c850cd4ac463f5f4027e2133b68452b8
parentcda5ccdb342f056aa40dea939598d8a799c9c18d
Revert "shared/conf-parser,networkd: EXTRACT_UNQUOTE|EXTRACT_RETAIN_ESCAPE → EXTRACT_UNQUOTE"

This reverts commit 8a07b4033e5d3c86931b3dd2ddbca41118c05c60.
The tests are kept. test-networkd-conf is adjusted to pass.

This fixes #13276. I think current rules are extremely confusing, as the
case in test-networkd-conf shows. We apply some kinds of unescaping (relating
to quoting), but not others (related to escaping of special characters).
But fixing this is hard, because people have adjusted quoting to match
our rules, and if we make the rules "better", things might break in unexpected
places.
src/basic/extract-word.c
src/libsystemd-network/network-internal.c
src/network/test-networkd-conf.c
src/shared/conf-parser.c