JC Brand 2 luni în urmă
părinte
comite
d647c57bc9
2 a modificat fișierele cu 8 adăugiri și 1 ștergeri
  1. 7 0
      CHANGES.md
  2. 1 1
      src/utils/url.js

+ 7 - 0
CHANGES.md

@@ -1,5 +1,12 @@
 # Changelog
 
+## 11.0.0 (Unreleased)
+
+- #3672: Images not rendering
+- Remove modal from the DOM when it's closed
+- Fix login form style for `classic` theme
+- Properly handle OGP metadata that doesn't have an image
+
 ## 11.0.0 (2025-05-21)
 
 ### Github Issues

+ 1 - 1
src/utils/url.js

@@ -57,7 +57,7 @@ function isAllowedProtocolForMedia(url) {
     }
     const uri = u.getURL(url);
     return (
-        protocol === "http:" || (protocol === "https:" && ["https", "aesgcm"].includes(uri.protocol.toLowerCase()))
+        protocol === "http:" || (protocol === "https:" && ["https:", "aesgcm:"].includes(uri.protocol.toLowerCase()))
     );
 }