How to cast a long URL via UI?

As a workaround you could try dynamic URLs. With this method your ‘Cast’ command would contain a static URL which would then be ‘resolved’ (redirected) to the input URL: