Sanity checking before redirecting

addresses https://github.com/misterbisson/scriblio-authority/pull/43#issuecomment-22718466