Fixes bug in https redirect url