Issue #2265913 by pwolanin: LinkGenerator::generateFromUrl() fatal (uncaught exception) with external URL.