fixes #5773 - redirect to referrer URL that includes page and search

wont this trigger the execution of send(..) all the time?