Skip to content

Commit

Permalink
all: imp docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizzick committed Apr 18, 2024
1 parent b0695da commit 85ea3d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ NOTE: Add new changes BELOW THIS COMMENT.

- Support for comments in the ipset file ([#5345]).

### Changed

- Rewrite rules mechanics was changed due to improve resolving in safe search.

### Fixed

- YouTube restricted mode is not enforced by HTTPS queries on Firefox.
Expand Down
3 changes: 3 additions & 0 deletions internal/filtering/safesearch/safesearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ func (ss *Default) CheckHost(host string, qtype rules.RRType) (res filtering.Res
}

res = *fltRes

// TODO(a.garipov): Consider switch back to resolving CNAME records IPs and
// saving results to cache.
ss.setCacheResult(host, qtype, res)

return res, nil
Expand Down

0 comments on commit 85ea3d9

Please sign in to comment.