• Max Kellermann's avatar
    command: allow "update" with slash or empty path · 469c9b5d
    Max Kellermann authored
    When handle_update() was modified to use uri_safe_local(), suddently
    "mpc update ''" and "mpc update '/'" stopped working, because both are
    not a "safe" local URI.  This patch adds a special case for these, to
    retain backwards compatibility.
    469c9b5d
command.c 52.1 KB