Added validation to prevent RegEx's susceptible to ReDoS from being used with custom redirects. Also moved error details out of context and into errorDetails to be consistent with error logging elsewhere as well as fix issue in admin-x where blank screen would be shown when an error occurred during redirects upload (due to logic not accounting for context being an object)
refs ENG-709
Added validation to prevent RegEx's susceptible to ReDoS from being used with custom redirects. Also moved error details out of
context
and intoerrorDetails
to be consistent with error logging elsewhere as well as fix issue in admin-x where blank screen would be shown when an error occurred during redirects upload (due to logic not accounting forcontext
being an object)