check redirect with lowercase

Related to Issue #269