fix: handle parsing destination with patterns in hostname (#75973)
This handles when the rewrite destination is not a valid URL (as it's a pattern anyways, containing characters like `:` for patterns like `:subdomain.google.com` which wouldn't be valid). This uses the existing escaping behaviour to extract the url parts. Fixes https://github.com/vercel/next.js/issues/75956
Showing
Please
register
or
sign in
to comment