* AcceptEncodingModule.cs: don't cause nullref if there's no
<mono.aspnet> section and the module is loaded.
svn path=/trunk/mcs/; revision=28935
if (config == null)
config = (AcceptEncodingConfig) app.Context.GetConfig (configSection);
- config.SetFilter (response, request.Headers ["Accept-Encoding"]);
+ if (config != null)
+ config.SetFilter (response, request.Headers ["Accept-Encoding"]);
}
}
}
+2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * AcceptEncodingModule.cs: don't cause nullref if there's no
+ <mono.aspnet> section and the module is loaded.
+
2004-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DigestAuthenticationModule.cs: introduces new overridable method