Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[asp.net] Update of fix for bug #648080. Properly populate embedded r…

…esources cache
  • Loading branch information...
commit 7cf6ebe0e0dc6e38851a07eaac14062b9a236a19 1 parent f62f87e
@grendello grendello authored
View
2  mcs/class/System.Web/System.Web.Handlers/AssemblyResourceLoader.cs
@@ -84,7 +84,7 @@ static void InitEmbeddedResourcesUrls (KeyedHashAlgorithm kha, Assembly assembly
for (int i = 0; i < attrs.Length; i++) {
attr = attrs [i];
string resourceName = attr.WebResource;
- if (resourceName == null || resourceName.Length == 0) {
+ if (resourceName != null && resourceName.Length > 0) {
string resourceNameHash = GetStringHash (kha, resourceName);
#if SYSTEM_WEB_EXTENSIONS
bool debug = resourceName.EndsWith (".debug.js", StringComparison.OrdinalIgnoreCase);
Please sign in to comment.
Something went wrong with that request. Please try again.