OPENAM-8117 Fix checking of redirection URLs created internally
OPENAM-7063
Fix for OPENAM-2758, internal review.
Fix for AME-202 - review: CR-802