Issue 3657: fixing bug in redirects controller, where www was added to all urls
Merge pull request #1249 from elzj/issue_3657_broken_redirects

Issue 3657: fixing bug in redirects controller