/// <summary> /// Close the stream /// </summary> public override void Close() { //At this point the stream is closed and we can do Intrusion Detection //So call the attached events //Do IDS IDS ids = new IDS(this); ids.UTF7Decode = UTF7Decode; ids.JSDecode = JSDecode; ids.Run(); this.Report = ids.Report; //Call event if (OnPageReady != null) { OnPageReady(this); } //Finish page if not done by events if (!_continued) { _continued = true; throw new ApplicationException("When using a PageOutput filter you MUST call either WriteResponse() or WriteResponse(string)."); } }
/// <summary> /// Close the stream /// </summary> public override void Close() { //At this point the stream is closed and we can do Intrusion Detection //So call the attached events //Do IDS IDS ids = new IDS(this); ids.UTF7Decode = UTF7Decode; ids.JSDecode = JSDecode; ids.Run(); this.Report = ids.Report; //Call event if (OnPageReady != null) OnPageReady(this); //Finish page if not done by events if (!_continued) { _continued = true; throw new ApplicationException("When using a PageOutput filter you MUST call either WriteResponse() or WriteResponse(string)."); } }