Wade Berrier wrote:
Mono 1.2.4 preview sources, packages, and installers are available at:
I also encountered a bug in the new HttpParamsCollection, an IndexOutOfRange because of a failure to account for empty-string param values. Patch attached. Let me know if it's ok to commit.
-- - Josh Tauberer http://razor.occams.info "Yields falsehood when preceded by its quotation! Yields falsehood when preceded by its quotation!" Achilles to Tortoise (in "Gödel, Escher, Bach" by Douglas Hofstadter)
Index: System.Web/ChangeLog =================================================================== --- System.Web/ChangeLog (revision 76060) +++ System.Web/ChangeLog (working copy) @@ -1,3 +1,7 @@ +2007-04-22 Joshua Tauberer <[EMAIL PROTECTED]> + + * HttpParamsCollection.cs: Fix IndexOutOfRangeException. + 2007-04-17 Igor Zelmanovich <[EMAIL PROTECTED]> * HttpException.cs: used GetBaseException() instead InnerException. Index: System.Web/HttpParamsCollection.cs =================================================================== --- System.Web/HttpParamsCollection.cs (revision 76060) +++ System.Web/HttpParamsCollection.cs (working copy) @@ -80,7 +80,7 @@ if (values == null) return null; - if (values [0] == ',') + if (values.Length > 0 && values [0] == ',') return values.Substring (1); return values;
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list