Repository navigation
Commit b260e17
Note the CSP connect-src requirement for locale files
The locale file is the only request the viewer makes for a locale once
pdfjs-viewer 4.4.1 serves the locale map from memory, so a page CSP only
needs the file's origin in connect-src, and a file that can't be loaded
leaves the interface in English. Adds the sentence to Localization and a
migration note for dropping `connect-src blob:`.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>1 parent 0faecd1 commit b260e17
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| 208 | + | |
| 209 | + | |
208 | 210 | | |
209 | 211 | | |
210 | 212 | | |
| |||
468 | 470 | | |
469 | 471 | | |
470 | 472 | | |
| 473 | + | |
471 | 474 | | |
472 | 475 | | |
473 | 476 | | |
| |||
0 commit comments