Sign-in look: the logo check never follows a redirect; the review pictures stay out of the package
checkLogoFile asks only the address the upload has (redirect: 'manual'); a redirecting logo counts as unknown, so the server fetches nothing at an internal address. docs/dev/login-page/*.png is excluded in package.json files (npm pack --dry-run: none of them packed). Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
939ab679c7
commit
562bf5388d
+1
-1
@@ -136,7 +136,7 @@ client's sign-in page (the credit line under the form is separate: `credit: fals
|
||||
the sign-in screens until it uploads a bitmap or sets the option).
|
||||
- **Looked at before it is printed:** the server fetches the file as an anonymous visitor would (at most 512 KB)
|
||||
and reads its first bytes. A deleted, broken, renamed, non-image or too large file gives the site's name, never
|
||||
a broken picture. The answer is remembered for ten minutes. When nothing answers at all (a container that cannot
|
||||
a broken picture. A redirect is never followed by the server. The answer is remembered for ten minutes. When nothing answers at all (a container that cannot
|
||||
reach its own public address), the upload document is believed. `checkLogo: false` turns the look off.
|
||||
- **Size:** fits 240 × 72 px (192 × 56 on a phone), never enlarged or cropped, `width` and `height` set (no
|
||||
layout shift). Served from the smallest generated size (`imageSizes` of the media collection) that is at least
|
||||
|
||||
Reference in New Issue
Block a user