If you don't add "http://" to the start of the destination URL, it won't parse correctly and looks like "http://example.com/www.google.com". The attached patch adds some more descriptive text to the field's help text, and validates if the URL starts with http:// during submission.

CommentFileSizeAuthor
destination_url_error_handling.patch1.5 KBsamlerner

Comments

dalin’s picture

That's probably not what you want to do. It's more likely that you'd have an internal destination URL. Perhaps a simple description "External URLs must start with http." might be better.