| | @@ -547,11 +547,11 @@ |
| 547 | 547 | ** default is used instead: |
| 548 | 548 | ** |
| 549 | 549 | ** default-src 'self' data:; |
| 550 | 550 | ** script-src 'self' 'nonce-$nonce'; |
| 551 | 551 | ** style-src 'self' 'unsafe-inline'; |
| 552 | | -** img-src *; |
| 552 | +** img-src * data:; |
| 553 | 553 | ** |
| 554 | 554 | ** The text '$nonce' is replaced by style_nonce() if and whereever it |
| 555 | 555 | ** occurs in the input string. |
| 556 | 556 | ** |
| 557 | 557 | ** The string returned is obtained from fossil_malloc() and |
| | @@ -560,11 +560,11 @@ |
| 560 | 560 | char *style_csp(int toHeader){ |
| 561 | 561 | static const char zBackupCSP[] = |
| 562 | 562 | "default-src 'self' data:; " |
| 563 | 563 | "script-src 'self' 'nonce-$nonce'; " |
| 564 | 564 | "style-src 'self' 'unsafe-inline'; " |
| 565 | | - "img-src *"; |
| 565 | + "img-src * data:"; |
| 566 | 566 | const char *zFormat; |
| 567 | 567 | Blob csp; |
| 568 | 568 | char *zNonce; |
| 569 | 569 | char *zCsp; |
| 570 | 570 | int i; |
| 571 | 571 | |