We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SCMFile
1 parent 72ff4b2 commit 3ce5c54Copy full SHA for 3ce5c54
src/main/java/jenkins/scm/api/SCMFile.java
@@ -418,7 +418,7 @@ private static String getMimeType(@NonNull String fileName) {
418
419
WebApp webApp = WebApp.getCurrent();
420
421
- String mimeType = webApp.context.getMimeType(fileName);
+ String mimeType = webApp.getServletContext().getMimeType(fileName);
422
if (mimeType == null) {
423
mimeType = "application/octet-stream";
424
}
0 commit comments