Skip to content

Commit 84f54b6

Browse files
committed
Use correct path for tika-config.xml
1 parent 769b02a commit 84f54b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/gui/action/ParseCurlCommandAction.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ public class ParseCurlCommandAction extends AbstractAction implements MenuCreato
136136

137137
private Tika createTika() {
138138
try {
139-
return new Tika(new TikaConfig(this.getClass().getClassLoader().getResourceAsStream("tika-config.xml")));
139+
return new Tika(new TikaConfig(this.getClass().getClassLoader()
140+
.getResourceAsStream("org/apache/jmeter/protocol/http/gui/action/tika-config.xml")));
140141
} catch (TikaException | IOException | SAXException e) {
141142
return new Tika();
142143
}

0 commit comments

Comments
 (0)