fix bug 1082034 - fix url_redirect for '/' path
Merge pull request #2867 from groovecoder/redirect-url-indexerror-1082034

fix bug 1082034 - fix url_redirect for '/' path