Block encoding of %s in URL template