When testing the admin form, I noticed that if an anonymous user has a session, and requested a pattern and got a response, then the same pattern is saved in the form, then the same user requested that pattern, they get served a response from the page cache.
Check the steps in the testUrlBanning()
test. If you remove clearing the cache from that test, It becomes a test for this issue.
Discuss whether this edge case requires clearing the page cache when saving the form.
Discussion
Action plan
None
None
None
Active
3.0
Code