We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 260a71c commit 37481d6Copy full SHA for 37481d6
src/main/java/org/jadice/filetype/matchers/TextMatcher.java
@@ -109,7 +109,7 @@ public boolean matches(final Context context) {
109
String mimeType = "text/plain";
110
final String statedExtension = context.getStatedExtension();
111
LOGGER.debug("stated extension: {}", statedExtension);
112
- if (matches && statedExtension != null && statedExtension.equals("csv")) {
+ if (matches && statedExtension != null && statedExtension.equalsIgnoreCase("csv")) {
113
isCSV = true;
114
mimeType = "text/csv";
115
}
0 commit comments