Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix for JENKINS-14050: Unreadable HTML response for the monitoring re…
…ports (gzip, take 2 when security is enabled)
  • Loading branch information
evernat authored and evernat committed Jun 20, 2012
1 parent 8ba5d50 commit b7f06fc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -38,7 +38,7 @@
<dependency>
<groupId>net.bull.javamelody</groupId>
<artifactId>javamelody-core</artifactId>
<version>1.38.0</version>
<version>1.39.0</version>
</dependency>
<!-- jrobin dependency is included in javamelody-core
<dependency>
Expand Down
Expand Up @@ -86,6 +86,11 @@ && isParameterUndefined("javamelody.analytics-id")) {
"/\\d+/|/site/.+|avadoc/.+|/ws/.+|obertura/.+|estReport/.+|iolations/file/.+|/user/.+|/static/\\w+/");
}

// fix for JENKINS-14050: Unreadable HTML response for the monitoring reports
if (isParameterUndefined("javamelody.gzip-compression-disabled")) {
System.setProperty("javamelody.gzip-compression-disabled", "true");
}

// we could set "javamelody.admin-emails" with
// ((Mailer.DescriptorImpl) Hudson.getInstance().getDescriptorByType(
// hudson.tasks.Mailer.DescriptorImpl.class)).getAdminAddress();
Expand Down

0 comments on commit b7f06fc

Please sign in to comment.