MDL-48430 custom_menu: Malformed url in custom menu cannot break the platform