Merge pull request #1783 from vlakoff/develop

Better server test in redirect() of URL helper