flake8
passed.
JSHint
passed.
Review Request #9963 — Created May 21, 2018 and submitted
When generating PII-safe URLs, we attempt to analyze the content of any
values coming into the view from the keyword arguments. If something
comes in that's not a string, this can crash, and that'll happen any
time extra context is provided to a view (like a form class).We now check the value type prior to checking the content.
Unit tests pass.
Tested with a view that crashed. Verified this fixed it.