Fix redirect URL regexp.