wagtail
wagtail copied to clipboard
SwapController - Ensure untrusted data sources are logged correctly
Avoids the rare case of requestUrl being used to log out an object in an unhanded way.
See https://developer.mozilla.org/en-US/docs/Web/API/console#s
Fixes #11212
Manage this branch in Squash
Test this branch here: https://lb-fix11212-swap-controller-er-r9q3l.squash.io
@laymonage - any chance for a review on this?
Super small change and a low risk but flagged with our security reporting (see issue).
I could just merge but wanted someone else to just look to check it's OK.
Thanks.