rsnext/test/integration/image-component/unicode
Steven da8d1984d2
Add experimental wildcard remotePatterns config for upstream images (#36245)
## Description 
This PR implements a new configuration object in `next.config.js` called `experimental.images.remotePatterns`.

This will eventually deprecate `images.domains` because it covers the same use cases and more by allowing wildcard pattern matching on `hostname` and `pathname` and also allows restricting `protocol` and `port`.

## Feature

- [x] Implements an existing feature request.
- [x] Related issues linked
- [x] Unit tests added
- [x] Integration tests added
- [x] Documentation added
- [x] Telemetry added. In case of a feature if it's used or not.
- [x] Errors have helpful link attached, see `contributing.md`

## Related 

- Fixes #27925 
- Closes #18429 
- Closes #18632
- Closes #18730
- Closes #27345
2022-05-05 02:19:16 +00:00
..
pages Fix invalid character in next/image header "Content-Disposition" (#30287) 2021-11-01 19:23:24 -04:00
public Fix invalid character in next/image header "Content-Disposition" (#30287) 2021-11-01 19:23:24 -04:00
test Fix invalid character in next/image header "Content-Disposition" (#30287) 2021-11-01 19:23:24 -04:00
next.config.js Add experimental wildcard remotePatterns config for upstream images (#36245) 2022-05-05 02:19:16 +00:00