Permalink
Browse files

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

…esources cache
  • Loading branch information...
1 parent 459b008 commit d161692a50d0164906d5c0ad6ee38db141b6f7b0 @grendello grendello committed Mar 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit d161692

Please sign in to comment.