Replace the couple places where the string character array was being indexed twice in the same block instead of the character being cached locally. Cleanup formatting of the switch statements to follow conventions.
MIT licence
* HttpUtility.cs: moved chunks of code to the new
System.Web.Util.HttpEncoder class.
* HttpResponseHeader.cs: encode header names and values using
HttpEncoder.
* HttpRequest.cs: added internal method Validate, to validate the
request in 4.0 profile.
* HttpHeaderCollection.cs: added. A helper class to encode header
names/values on add.
* HttpApplication.cs: Pipeline () validates request by calling
HttpRequest.Validate in the 4.0 profile.
2010-06-01 Marek Habersack <[email protected]>
* HttpEncoder.cs: added. A 4.0 type but also used in 2.0 profile,
internally.
2010-06-01 Marek Habersack <[email protected]>
* HttpRuntimeSection.cs: added 4.0 properties
MaxQueryLengthString, MaxUrlLength, EncoderType and
RelaxedUrlToFileSystemMapping.
svn path=/trunk/mcs/; revision=158300