fixes missing url encoding in dav_session_get_href() with enabled name decryption

reduces code complexity of util_resource_name()

(0) -300 -100 -30 -10 -2 +2 +10 +30 +100 tip

mercurial