You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(gateway): prevent blocked CIDs in CAR responses
The gateway was including blocked CIDs in CAR format responses,
bypassing content filtering policies.
The fix separates the DAGService usage in GetCAR:
- nodeGetterToCarExporer continues wrapping for path resolution
- Original dagService is now used for blockOpener during traversal
- blockOpener returns traversal.SkipMe{} ONLY for blocked content
- NotFound errors are properly propagated (not skipped)
This ensures blocked content is filtered from CAR responses while
properly failing when blocks are genuinely missing (broken DAG).
Closesipfs/kubo#10361
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,8 @@ The following emojis are used to highlight certain changes:
22
22
23
23
### Fixed
24
24
25
+
-`gateway`: Fixed CAR responses including blocked content. The gateway now properly filters out blocked CIDs from CAR format responses, ensuring content filtering policies are enforced across all response formats. ([ipfs/kubo#10361](https://github.com/ipfs/kubo/issues/10361))
0 commit comments