Skip to content

Commit

Permalink
2007-04-22 Joshua Tauberer <jit@occams.info>
Browse files Browse the repository at this point in the history
	* HttpParamsCollection.cs: Fix IndexOutOfRangeException.

svn path=/branches/mono-1-2-4/mcs/; revision=76116
  • Loading branch information
migueldeicaza committed Apr 23, 2007
1 parent d78f448 commit 5a1670d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions mcs/class/System.Web/System.Web/ChangeLog
@@ -1,3 +1,7 @@
2007-04-22 Joshua Tauberer <jit@occams.info>

* HttpParamsCollection.cs: Fix IndexOutOfRangeException.

2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>

* HttpException.cs: used GetBaseException() instead InnerException.
Expand Down
2 changes: 1 addition & 1 deletion mcs/class/System.Web/System.Web/HttpParamsCollection.cs
Expand Up @@ -80,7 +80,7 @@ public override string Get (string name)
if (values == null)
return null;

if (values [0] == ',')
if (values.Length > 0 && values [0] == ',')
return values.Substring (1);

return values;
Expand Down

0 comments on commit 5a1670d

Please sign in to comment.