Author: mhabersack
Date: 2008-02-08 10:41:45 -0500 (Fri, 08 Feb 2008)
New Revision: 95265
Modified:
trunk/mcs/class/System.Web/System.Web.UI/ChangeLog
trunk/mcs/class/System.Web/System.Web.UI/SimpleWebHandlerParser.cs
Log:
2008-02-08 Marek Habersack <[EMAIL PROTECTED]>
* SimpleWebHandlerParser.cs: always return a non-null value from
the Program property.
Modified: trunk/mcs/class/System.Web/System.Web.UI/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI/ChangeLog 2008-02-08 15:30:44 UTC
(rev 95264)
+++ trunk/mcs/class/System.Web/System.Web.UI/ChangeLog 2008-02-08 15:41:45 UTC
(rev 95265)
@@ -1,5 +1,8 @@
2008-02-08 Marek Habersack <[EMAIL PROTECTED]>
+ * SimpleWebHandlerParser.cs: always return a non-null value from
+ the Program property.
+
* TemplateParser.cs: make sure that the Src attribute is treated
correctly in the 2.0 profile. Fixes bug #319016
Modified: trunk/mcs/class/System.Web/System.Web.UI/SimpleWebHandlerParser.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI/SimpleWebHandlerParser.cs
2008-02-08 15:30:44 UTC (rev 95264)
+++ trunk/mcs/class/System.Web/System.Web.UI/SimpleWebHandlerParser.cs
2008-02-08 15:41:45 UTC (rev 95265)
@@ -513,7 +513,12 @@
}
internal string Program {
- get { return program; }
+ get {
+ if (program != null)
+ return program;
+
+ return String.Empty;
+ }
}
internal ArrayList Assemblies {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches