encode assets url