Fixed #770: Empty redirect in response may cause uninitialized string offset notice