[Code Style]Clean up com_redirect backend.

[Code Style]Clean up com_redirect backend.