fixes 'Unkown repository' error message in dav-sync v1.2

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 -3 +3 +10 +30 +100 tip

mercurial