allow lowercase urls
fix to redirect url