Skip to content

[FIX] Limit dbfilter from header to match exactly by the dbname parm

Quim Rebull requested to merge cherry-pick-435b340b into 14.0

Without this dbfilter does not verify if all dbname is exacly equal to the given one. For example, if exists these domains to point to thess Dbs: domain - dbname client.devs.coop - client client-test.devs.coop - client-test

When you go to client.devs.coop it shows both databases (client and client-test) As far dbfilter_from_header accepts regex to identify database. We can solve this problem only limiting the de dbname with ^ to begin and \Z to end.

This commit will be aplied tot all saas and processos versions.

(cherry picked from commit 435b340b)

Co-authored-by: QuiJoQuim quim.rebull@coopdevs.org

Merge request reports

Loading