Issue #3091823 by Renrhaf, johndevman: UrlHelper::parse does not support external URLs with more than one question mark (cherry picked from commit 52320cc8)