Compare commits

...

3 Commits
7.5.1 ... 7.5.2

Author SHA1 Message Date
Athou
728868784e release 7.5.2 2026-11-17 21:37:58 +01:00
Athou
e59948c68c fix youtube embeds (#2394) 2026-11-17 14:50:43 +01:00
renovate[bot]
d3ba47d200 Lock file maintenance 2026-11-16 17:22:20 +00:00
8 changed files with 24 additions and 12 deletions

View File

@@ -1,5 +1,9 @@
# Changelog
## [7.5.2]
- Fix Youtube embeds not loading and stealing focus (#2394)
## [7.5.1]
- Fix multiple entry context menus being open at the same time (#2393)

View File

@@ -2178,9 +2178,9 @@
}
},
"node_modules/@tybys/wasm-util": {
"version": "0.10.4",
"resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.4.tgz",
"integrity": "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A==",
"version": "0.10.5",
"resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.5.tgz",
"integrity": "sha512-dOGOPxlaNV+G046mZzN+9C0dAcQZeSKcXiVaM0TYy/LM4ttTmgSBDxYfovcYI8Em3+eAbiAYpvWLOv8+ZVRJKA==",
"license": "MIT",
"optional": true,
"dependencies": {
@@ -4558,9 +4558,9 @@
}
},
"node_modules/numeric-quantity": {
"version": "3.3.4",
"resolved": "https://registry.npmjs.org/numeric-quantity/-/numeric-quantity-3.3.4.tgz",
"integrity": "sha512-mYzGsK+5jEK3DM3iAxC8ACKp6k1qH2lxvbTQxfIb6FL+meXx4yrwUTiAQtXik7ZnCj8R5pMIY63Ra0wPP3SW/A==",
"version": "3.3.5",
"resolved": "https://registry.npmjs.org/numeric-quantity/-/numeric-quantity-3.3.5.tgz",
"integrity": "sha512-6+8OIGgAmHb+PVCkmfqF1LqpZQ2IVI8DrCR722U5sRZ8h8Ha6cjGl3HeRqb5sz5LMb6S+tkxbMkSwWSUOi54dg==",
"license": "MIT",
"engines": {
"node": ">=16"

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>com.commafeed</groupId>
<artifactId>commafeed</artifactId>
<version>7.5.1</version>
<version>7.5.2</version>
</parent>
<artifactId>commafeed-client</artifactId>
<name>CommaFeed Client</name>

View File

@@ -106,7 +106,14 @@ const Content = React.memo((props: ContentProps) => {
return (
<BasicHtmlStyles>
<Box className={classes.content}>
<Interweave content={props.content} transform={transform} matchers={matchers} allowList={allowList} />
<Interweave
content={props.content}
transform={transform}
matchers={matchers}
allowList={allowList}
// attributes are already sanitized server-side
allowAttributes
/>
</Box>
</BasicHtmlStyles>
)

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>com.commafeed</groupId>
<artifactId>commafeed</artifactId>
<version>7.5.1</version>
<version>7.5.2</version>
</parent>
<artifactId>commafeed-server</artifactId>
<name>CommaFeed Server</name>
@@ -303,7 +303,7 @@
<dependency>
<groupId>com.commafeed</groupId>
<artifactId>commafeed-client</artifactId>
<version>7.5.1</version>
<version>7.5.2</version>
</dependency>
<!-- compile-time processors -->

View File

@@ -140,6 +140,7 @@ public class FeedEntryContentCleaningService {
whitelist.addEnforcedAttribute("a", "target", "_blank");
whitelist.addEnforcedAttribute("a", "rel", "noreferrer");
whitelist.addEnforcedAttribute("iframe", "referrerpolicy", "strict-origin-when-cross-origin");
return whitelist;
}

View File

@@ -25,7 +25,7 @@ class FeedEntryContentCleaningServiceTest {
<p>
Some text
<img width="965" height="320" src="https://localhost/an-image.png" alt="alt-desc" style="width:100%;">
<iframe src="https://localhost/an-iframe" style="width:100%;"></iframe>
<iframe src="https://localhost/an-iframe" style="width:100%;" referrerpolicy="strict-origin-when-cross-origin"></iframe>
aaa
</p>
"""

View File

@@ -5,7 +5,7 @@
<groupId>com.commafeed</groupId>
<artifactId>commafeed</artifactId>
<version>7.5.1</version>
<version>7.5.2</version>
<name>CommaFeed</name>
<packaging>pom</packaging>