fix redirects that were not being handled
allow filename matching to be case-insensitive