Proper handling of dest url