[closes #49] make redirects match the RFC