Skip to content
  • Krzesimir Nowak's avatar
    gdesktopappinfo: Fix validation of XDG_CURRENT_DESKTOP · 6f6dfc94
    Krzesimir Nowak authored and Philip Withnall's avatar Philip Withnall committed
    Split out XDG_CURRENT_DESKTOP handling to a separate function and make
    sure that it drops all the invalid entries properly. Earlier a bad
    entry could slip through the checks by sitting just after another bad
    entry, like in env being set to `invalid1!:invalid2!`, where
    `invalid2!` could slip the checks.
    6f6dfc94