diff --git a/.hgeol b/.hgeol new file mode 100644 index 000000000..1fcc0aa28 --- /dev/null +++ b/.hgeol @@ -0,0 +1,2 @@ +[patterns] +** = native \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.OutputCache/Models/CacheItemRecord.cs b/src/Orchard.Web/Modules/Orchard.OutputCache/Models/CacheItemRecord.cs index 6cd345e8b..245964026 100644 --- a/src/Orchard.Web/Modules/Orchard.OutputCache/Models/CacheItemRecord.cs +++ b/src/Orchard.Web/Modules/Orchard.OutputCache/Models/CacheItemRecord.cs @@ -12,7 +12,7 @@ namespace Orchard.OutputCache.Models { public virtual int GraceTime { get; set; } public virtual DateTime ValidUntilUtc { get; set; } public virtual DateTime StoredUntilUtc { get; set; } - public virtual byte[] Output { get; set; } + [StringLengthMax] public virtual byte[] Output { get; set; } public virtual string ContentType { get; set; } [StringLength(2048)] public virtual string QueryString { get; set; } [StringLength(2048)] public virtual string CacheKey { get; set; } @@ -22,4 +22,4 @@ namespace Orchard.OutputCache.Models { public virtual int StatusCode { get; set; } [StringLengthMax] public virtual string Tags { get; set; } } -} \ No newline at end of file +}