Skip to content

blocking: simplify matching queries

Instead of doing some collation-dependent, somewhat brittle prefix matching in PostgreSQL, generate a list of checked prefixes and match them exactly in the database. This means we can do both exact and prefix matching in one go.

Add a warning for inserted URLs that do not conform to the prefix match expectations.

Probably solves #4711 (closed)?

Merge request reports

Loading