adding redirect to the list of allowed attributes