Thanks for manually changing that. Actually any update to plugin should consider previous ways of how it was working, and automatically updating the existing database.
So now onwards we have to use absolute complete path including domain name for redirection.
Thanks for solution.