summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorMarc Mutz <[email protected]>2025-06-24 12:25:31 +0200
committerMarc Mutz <[email protected]>2025-06-26 14:31:30 +0200
commit08c22f913806e0c75357ecb535d607056172fa25 (patch)
tree7d93ce80c63031defe3267790e8e0370802b61bd /tests/auto
parent719e409526e2e9ad7adc8868e827391e54a460ae (diff)
QHttpServerRequestFilter: rewrite isRequestAllowed() using STL algorithmsHEADdev
Now the code reads like English: - if the whitelist isn't empty: - return whether any of whitelist matches - otherwise - return whether none of blacklist matches Also avoids the unintended QList detaches, and fixes the incorrect mutable for loop variables. Amends 2d9e98680087c91db35f069e9cdbd31ddc50b5d5. Pick-to: 6.10 Change-Id: I2cc9aa0f8bed56abc97af642a2c908b9769a20a3 Reviewed-by: Lena Biliaieva <[email protected]> Reviewed-by: Øystein Heskestad <[email protected]>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions