URI encode the branch and application names