handle case insensitive URL encoded paths