Commit Graph
7 Commits
Author SHA1 Message Date
Chris Hamons b044a27fe0 Create xammac_net_4_5 profile for XM 4.5 Unified to remove references to unshippable assmblies 2015-06-18 13:31:04 -05:00
Zoltan Varga 032f313d5f [bcl] Remove NET_4_0 defines from class libs. 2015-01-13 16:06:31 -05:00
Marc Brooks a667b8846d Consistent use of ch to avoid array indexing more than once.
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
2013-07-26 14:06:33 -05:00
Marek Safar e3484720bb Add MOBILE defines to 4.0 code 2012-12-04 18:47:02 +01:00
Gonzalo Paniagua Javier 5ab786b5b4 Get system.web/httpRuntime only once
Get that section only once and keep it in HttpRuntime.
2010-12-09 19:01:41 -05:00
Jb Evain 065ef48c9e 2010-06-04 Jb Evain <[email protected]>
* HttpEncoder.cs: only net_4_0 uses System.Web.Configuration.


svn path=/trunk/mcs/; revision=158469
2010-06-04 14:01:38 +00:00
Marek Habersack f8d637595c 2010-06-01 Marek Habersack <[email protected]>
* 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
2010-06-01 19:39:19 +00:00