rsnext/test/integration/next-image-new/default/pages
Steven f169b08901
fix(next/image)!: error when src has leading or trailing space (#65637)
BREAKING CHANGE:

Using the built-in image optimization API, the URL is parsed with `new
URL()` constructor which automatically trims spaces.

However, the developer may choose a 3rd party image optimization API via
`loader` or `loaderFile` (or perhaps a deployment platform that has its
own built in loader), so we shouldn't assume the API will parse the URL
in the same way as
[WHATWG](https://url.spec.whatwg.org/#:~:text=If%20input%20contains%20any%20leading%20or%20trailing%20C0%20control%20or%20space%2C%20invalid%2DURL%2Dunit%20validation%20error.).

While we could trim on the client, its probably best to fail fast and
let the developer make a conscience decision if a trailing space should
be removed or remain (by explicitly using `%20`).
2024-05-14 18:00:27 +00:00
..
_document.js
blob.js
blurry-placeholder.js
data-url-placeholder.js feat(image): DataURL placeholder support for <Image /> (#53442) 2023-08-11 23:45:20 +00:00
data-url-with-fill-and-sizes.js
drop-srcset.js
dynamic-static-img.js
edge.js Fix image loader file emission path for edge runtime (#50683) 2023-06-02 14:01:53 +00:00
empty-string-src.js fix: handle empty src prop on next/image (#47695) 2023-03-30 20:02:47 +00:00
fill-blur.js
fill-data-url-placeholder.js feat(image): DataURL placeholder support for <Image /> (#53442) 2023-08-11 23:45:20 +00:00
fill-warnings.js fix(next/image): improve warning when fill and sizes="100vw" (#61949) 2024-02-12 17:32:39 +00:00
fill.js
flex.js
hidden-parent.js
index.js
inside-paragraph.js
invalid-fill-position.js
invalid-fill-width.js
invalid-height.js
invalid-Infinity-width.js fix: error when image width={Infinity} (#48855) 2023-04-29 06:42:28 +00:00
invalid-loader.js
invalid-placeholder-blur-static.js
invalid-placeholder-blur.js
invalid-src-leading-space.js fix(next/image)!: error when src has leading or trailing space (#65637) 2024-05-14 18:00:27 +00:00
invalid-src-proto-relative.js
invalid-src-trailing-space.js fix(next/image)!: error when src has leading or trailing space (#65637) 2024-05-14 18:00:27 +00:00
invalid-src.js
invalid-width.js
legacy-layout-fill.js
legacy-layout-responsive.js
loader-svg.js
missing-alt.js
missing-height.js
missing-src.js fix: handle empty src prop on next/image (#47695) 2023-03-30 20:02:47 +00:00
missing-width.js
on-error-before-hydration.js
on-error.js chore(test): fix typo occured => occurred (#63287) 2024-03-14 15:57:31 +00:00
on-load.js
on-loading-complete.js
override-src.js feat(next/image): add overrideSrc prop (#64221) 2024-04-09 10:48:01 -04:00
picture.js feat: stabilize unstable_getImgProps() => getImageProps() (#60739) 2024-01-17 18:28:49 -05:00
placeholder-blur.js
priority-missing-warning.js refactor(tests): make chain more "correct" (#51728) 2024-02-14 20:14:24 +01:00
priority.js chore(test): test image preload below the fold (#65528) 2024-05-08 21:10:59 -04:00
prose.js
prose.module.css
rotated.js
should-not-warn-unmount.js
sizes.js
small-img-import.js
static-img.js feat(image): DataURL placeholder support for <Image /> (#53442) 2023-08-11 23:45:20 +00:00
style-filter.js
style-inheritance.js
style-prop.js
update.js
valid-html-w3c.js
warning-once.js
wrapper-div.js