Commit Graph
180 Commits
Author SHA1 Message Date
Konstantin Triger bfb0849d2b Add support for java config files settings inside the .Net appSettings
svn path=/trunk/mcs/; revision=91938
2007-12-27 14:27:55 +00:00
Marek Habersack 021aece48b 2007-12-27 Marek Habersack <[email protected]>
* ProfileGroupSettingsCollection.cs: added an internal method to
	add/overwrite new group settings. Used from
	RootProfilePropertySettingsCollection.

	* ProfileGroupSettings.cs: added the missing "name" property to
	the properties collection.
	Marked the propertySettingsProp property as the default
	collection.
	Added internal deserialization method, used from
	RootProfilePropertySettingsCollection to support the 'group'
	element.

	* ProfileSection.cs: defaultProviderProp typo - the name of the
	provider should be "AspNetSqlProfileProvider"

	* RootProfilePropertySettingsCollection.cs: added
	OnDeseerializeUnrecognizedElement to support the profile 'group'
	element.
	Added a missing Unmerge method.

svn path=/trunk/mcs/; revision=91931
2007-12-27 12:47:04 +00:00
Vladimir Krasnov ff459d9a49 * SiteMapSection.cs: fixed ProvidersInternal property to be thread safe
* ProfileManager.cs: fixed Providers property to be thread safe
* Roles.cs: fixed Providers property to be thread safe

svn path=/trunk/mcs/; revision=91095
2007-12-11 13:59:13 +00:00
Konstantin Triger 328dda86dc TARGET_JVM: do not use the SettingsMappingManager
svn path=/trunk/mcs/; revision=90998
2007-12-09 08:58:57 +00:00
Marek Habersack 58eceab2ec 2007-12-08 Marek Habersack <[email protected]>
* TranslationResources.resx: added - string resources for the
	Sqlite providers.
2007-12-08  Marek Habersack  <[email protected]>

	* SQLiteProviders_DatabaseSchema.sql: added
	* Makefile: added support for compiling .resx resources.
	Added SQLiteProviders_DatabaseSchema.sql to EXTRA_DISTFILES.
	Added new resource files to EXTRA_DISTFILES
2007-12-08  Marek Habersack  <[email protected]>

	* HttpRuntime.cs: initialize the Settings Mapping Manager once per
	application, just after initalizing the WebConfigurationManager
2007-12-08  Marek Habersack  <[email protected]>

	* SqliteProfileProvider.cs: added - a Profile Provider for
        Sqlite, based on PostgreSQL Profile Provider code from Daniel
        Nauck <[email protected]>
2007-12-08  Marek Habersack  <[email protected]>

	* TranslationProperties.Designer.cs: added - contains strongly
	typed properties referring to string resources used by the Sqlite
	providers.
2007-12-08  Marek Habersack  <[email protected]>

	* WebConfigurationManager.cs: GetSection now runs each section
	through a mapper (if any is defined for the section) before
	returning it to the caller.
2007-12-08  Marek Habersack  <[email protected]>

	* SqliteRoleProvider.cs: added - a Role Provider for
	Sqlite, based on PostgreSQL Role Provider code from Daniel
	Nauck <[email protected]>

	* SqliteMembershipProvider.cs: added - a Membership Provider for
	Sqlite, based on PostgreSQL Membership Provider code from Daniel
	Nauck <[email protected]>
2007-12-08  Marek Habersack  <[email protected]>

	* SerializationHelper.cs: added - serialization helper for the
	Sqlite Profile Provider.

	* RoleManagerSectionMapper.cs: added - section settings mapper for
	the RoleManager section.

	* MembershipSectionMapper.cs: added - section settings mapper for
	the Membership section.

	* ISectionSettingsMapper.cs: added - interface definition for
	section settings mappers.

	* SettingsMappingWhat.cs: added - describes a single 'what' tag
	instance inside the mapper definition in the settings.map file.

	* SettingsMapping.cs: added - represents a single mapper entry in
	the settings.map file.

	* SettingsMappingManager.cs: added - manages settings mapping as
	defined in the settings.map file.


svn path=/trunk/mcs/; revision=90972
2007-12-07 23:26:18 +00:00
Marek Habersack 41e1573a15 2007-11-23 Marek Habersack <[email protected]>
* TagPrefixCollection.cs: changed the collection type to
	BasicMap.

svn path=/trunk/mcs/; revision=90232
2007-11-23 17:35:17 +00:00
Marek Habersack ddbd763a22 2007-11-23 Marek Habersack <[email protected]>
* ProfileSection.cs: added missing Properties property, added a
	static constructor to create property descriptors. Use property
	descriptors in property accessors.

svn path=/trunk/mcs/; revision=90231
2007-11-23 17:29:01 +00:00
Marek Habersack 4f004ed94c 2007-11-23 Marek Habersack <[email protected]>
* ProfileGroupSettingsCollection.cs: added missing attribute to
	the class, removed CollectionType method, added missing IsModified
	and ResetModified methods, added missing Properties property.

	* ProfileGroupSettings.cs: added missing Properties property,
	adjusted the set of custom attributes of the PropertySettings
	property.

	* ProcessModelSection.cs: change the default value of the CpuMask
	property.


svn path=/trunk/mcs/; revision=90229
2007-11-23 17:15:18 +00:00
Marek Habersack c0a832dd7d 2007-11-23 Marek Habersack <[email protected]>
* OutputCacheSection.cs: added the EnableKernelCacheForVaryByStar
	property.

	* OutputCacheProfile.cs: added the VaryByContentEncoding property.
2007-11-23  Marek Habersack  <[email protected]>

	* BrowserCapabilities.cs: the JavaScript property is obsolete in
	2.0sp1.


svn path=/trunk/mcs/; revision=90219
2007-11-23 11:09:25 +00:00
Marek Habersack 86ef3008e2 2007-11-23 Marek Habersack <[email protected]>
* FormsAuthenticationConfiguration.cs: corrected defaults for the
	Timeout property.

svn path=/trunk/mcs/; revision=90210
2007-11-23 01:15:27 +00:00
Marek Habersack 1607f2f8f6 2007-11-23 Marek Habersack <[email protected]>
* ExpressionBuilder.cs: corrected defaults for the
	ExpressionPrefix and Type properties.

svn path=/trunk/mcs/; revision=90209
2007-11-23 01:11:36 +00:00
Marek Habersack 7eb6037d96 2007-11-23 Marek Habersack <[email protected]>
* CacheSectionTest.cs: modified to match the new MS.NET defaults.
2007-11-23  Marek Habersack  <[email protected]>

	* CustomErrorsSection.cs: added two missing overrides -
	DeserializeSection and Reset.

svn path=/trunk/mcs/; revision=90208
2007-11-23 01:03:48 +00:00
Marek Habersack 0d6356d823 2007-11-23 Marek Habersack <[email protected]>
* ClientTargetSection.cs: added the missing Properties property.
	Added static constructor to create the property collection.

	* CustomErrorCollection.cs: removed the ThrowOnDuplicate
	property.

	* CacheSection.cs: corrected the defaults for the
	PercentagePhysicalMemoryUsedLimit property.

Put IConfigMap* in the correct namespace

svn path=/trunk/mcs/; revision=90206
2007-11-23 00:35:03 +00:00
Marek Habersack 9b7c4da8c2 2007-11-23 Marek Habersack <[email protected]>
* ClientTargetCollection.cs: added missing Properties property.

svn path=/trunk/mcs/; revision=90205
2007-11-23 00:16:12 +00:00
Marek Habersack 65f9ec2aad 2007-11-23 Marek Habersack <[email protected]>
* IConfigMapPathFactory.cs: added

	* IConfigMapPath.cs: added
2007-11-23  Marek Habersack  <[email protected]>

	* System.Web.dll.sources: added
	System.Web.Configuration_2.0/IConfigMapPath.cs and
	System.Web.Configuration_2.0/IConfigMapPathFactory.cs


svn path=/trunk/mcs/; revision=90202
2007-11-22 23:38:06 +00:00
Marek Habersack 84904ae9ac 2007-11-23 Marek Habersack <[email protected]>
* RoleManagerSection.cs: added a static constructor, a collection
	of properties, the missing Properties property.

svn path=/trunk/mcs/; revision=90201
2007-11-22 23:19:41 +00:00
Marek Habersack d8bb391102 2007-11-22 Marek Habersack <[email protected]>
* AuthorizationRuleCollection.cs: removed the ThrowOnDuplicate
	property - it's not found in the MS.NET version of the class.

svn path=/trunk/mcs/; revision=90197
2007-11-22 22:01:21 +00:00
Marek Habersack 32a81b74e1 2007-11-06 Marek Habersack <[email protected]>
* MachineKeySectionUtils.cs: make sure keys are autogenerated when
	necessary.

svn path=/trunk/mcs/; revision=88974
2007-11-06 13:51:13 +00:00
Marek Habersack 669d0ef97f 2007-11-02 Marek Habersack <[email protected]>
* HttpApplication.cs: introduced HTTP handler cache to save time
	on repetitive handler collection traversals. On busy sites the
	traversal of the default 26 handlers may account for thousands of
	unnecessary calls to configsystem.LocateHandler method, which may
	also involve executing a regex. The cache is cleared whenever the
	HTTP handler collection is modified.
2007-11-02  Marek Habersack  <[email protected]>

	* HttpHandlerActionCollection.cs: clear http handler cache in
	HttpApplication if the collection is modified.
2007-11-02  Marek Habersack  <[email protected]>

	* HandlerFactoryConfiguration.cs: clear the HttpApplication HTTP
	handler cache whenever the collection is modified.

svn path=/trunk/mcs/; revision=88716
2007-11-02 11:12:29 +00:00
Marek Habersack 6f82e580a4 2007-11-01 Marek Habersack <[email protected]>
* Page.cs, ObjectStateFormatter.cs: use the new
	MachineKeySectionUtils class wherever necessary.
2007-11-01  Marek Habersack  <[email protected]>

	* System.Web.dll.sources: added MachineKeySectionUtils.cs
2007-11-01  Marek Habersack  <[email protected]>

	* RolePrincipal.cs, MembershipProvider.cs: use the new
	MachineKeySectionUtils class wherever necessary.

	* FormsAuthentication.cs: use the new MachineKeySectionUtils class
	wherever necessary.
	GetHexString is a private method again.
2007-11-01  Marek Habersack  <[email protected]>

	* MachineKeySection.cs: moved all the internal static methods and
	properties to MachineKeySectionUtils.cs

	* MachineKeySectionUtils.cs: added. This file is included in the
	System.Web.Extensions compilation.
	The old properties from MachineKeySection.cs became methods.
2007-11-01  Marek Habersack  <[email protected]>

	* AssemblyResourceLoader.cs: added GetHexString, copied from
	FormsAuthentication.cs. Encryption/decryption routines use methods
	from the new MachineKeySectionUtils class. This is needed for the
	same code to work from both System.Web and System.Web.Extensions.


svn path=/trunk/mcs/; revision=88621
2007-11-01 02:14:52 +00:00
Marek Habersack 511d26cdcc 2007-10-24 Marek Habersack <[email protected]>
* HttpHandlerAction.cs: exact path matching must be done on the
	original string in PathMatches, not on the sliced one. Fixes bug
	#335669.
2007-10-24  Marek Habersack  <[email protected]>

	* HandlerFactoryConfiguration.cs: exact path matching must be done
	on the original string in PathMatches, not on the sliced one.

	* FileMatchingInfo.cs: refactoring - this code used to live in
	both 1.1 and 2.0 profiles. At the same time, fixe the way
	MatchExact is created - the slash is prepended only if the path
	doesn't begin with it.
2007-10-24  Marek Habersack  <[email protected]>

	* System.Web.dll.sources: added
	System.Web.Configuration/FileMatchingInfo.cs

svn path=/trunk/mcs/; revision=88121
2007-10-24 19:55:36 +00:00
Noam Lampert e77d4c28c0 Fix Java compilation
svn path=/trunk/mcs/; revision=87647
2007-10-17 10:51:37 +00:00
Marek Habersack f3a1e77fcc 2007-10-17 Marek Habersack <[email protected]>
* ApplicationHost.cs: introduce an application domain data item to
	allow checks for whether System.Web code runs inside a hosted
	application or in a stand-alone one.
	Made the array of web.config name variations an internal one, to
	be used from within configuration code.

2007-10-17  Marek Habersack  <[email protected]>

	* WebConfigurationHost.cs: if running outside hosted environment,
	read only the assemblyname.config configuration file instead of
	web.config. Fixes bug #332425

svn path=/trunk/mcs/; revision=87621
2007-10-16 22:34:48 +00:00
Marek Habersack c024be4598 2007-10-15 Marek Habersack <[email protected]>
* TemplateControlCompiler.cs, WebServiceCompiler.cs,
	BuildProvider.cs, BaseCompiler.cs, CachingCompiler.cs: use
	HttpApplication.LoadType instead of Type.GetType.
2007-10-15  Marek Habersack  <[email protected]>

	* ProvidersHelper.cs: use HttpApplication.LoadType instead of
	Type.GetType.
2007-10-15  Marek Habersack  <[email protected]>

	* ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
	Type.GetType.
2007-10-15  Marek Habersack  <[email protected]>

	* ProfileBase.cs: use HttpApplication.LoadType instead of
	Type.GetType.

svn path=/trunk/mcs/; revision=87506
2007-10-15 13:07:47 +00:00
Marek Habersack 9a63e69002 2007-10-15 Marek Habersack <[email protected]>
* HttpModulesSection.cs: use HttpApplication.LoadType when loading
	modules, to include both the bin/ directory and the top-level
	assemblies in search. Fixes bug #333686.
2007-10-15  Marek Habersack  <[email protected]>

	* ModulesConfiguration.cs: load modules using
	HttpApplication.LoadType to include the bin/ directory in search.

svn path=/trunk/mcs/; revision=87486
2007-10-15 08:57:38 +00:00
Igor Zelmanovich 3290f18a2e consider MachineKeyRegistryStorage is not supported in TARGET_J2EE
svn path=/trunk/mcs/; revision=85184
2007-09-02 09:41:54 +00:00
Marek Habersack b497743322 2007-08-30 Marek Habersack <[email protected]>
* System.Web.dll.sources: added MachineKeyRegistryStorage.cs

2007-08-30  Marek Habersack  <[email protected]>

            * MachineKeySection.cs: retrieve the keys from the registry before
            falling back to the old method. Fixes bug #76606

2007-08-30  Marek Habersack  <[email protected]>

            * MachineKeyRegistryStorage.cs: added


svn path=/trunk/mcs/; revision=85063
2007-08-30 17:32:52 +00:00
Marek Habersack dd5ce5833e 2007-08-23 Marek Habersack <[email protected]>
* ProvidersHelper.cs: HttpApplication.LoadTypeFromPrivateBin
            renamed to LoadTypeFromBin.

2007-08-23  Marek Habersack  <[email protected]>

            * AppCodeCompiler.cs: use HttpApplication.BinDirectoryAssemblies
            and HttpApplication.LoadTypeFromBin.

            * BuildProvider.cs: use HttpApplication.BinDirectoryAssemblies in
            AddAssembliesInBin.

2007-08-23  Marek Habersack  <[email protected]>

            * ApplicationHost.cs: set AppDomainSetup.PrivateBinPath to "bin"
            if running on Windows or with MONO_IOMAP in effect, and to
            "Bin:bin" otherwise.

2007-08-23  Marek Habersack  <[email protected]>

            * SimpleWebHandlerParser.cs: use
            HttpApplication.BinDirectoryAssemblies in AddAssembliesInBin and
            LoadAssemblyFromBin.
            Restore the old logic in GetTypeFromBin, also use
            HttpApplication.BinDirectoryAssemblies there.

            * TemplateParser.cs: use HttpApplication.BinDirectories to
            interate over the list of bin dirs.
            Use HttpApplication.BinDirectoryAssemblies in AddAssembliesInBin.

2007-08-23  Marek Habersack  <[email protected]>

            * HttpApplication.cs: added a static array BinDirs which contains
            the common bin directory names we can encounter.
            Added internal static property IsRunningOnWindows.
            Added internal enumerable property BinDirectories to iterate over
            the full paths of the available binary directories.
            Added internal enumerable property BinDirectoryAssemblies to
            iterate over .dll files in the bin directories.
            LoadTypeFromPrivateBin renamed to LoadTypeFromBin.
            LoadTypeFromBin uses BinDirectoryAssemblies.
            
            * HttpApplicationFactory.cs: use HttpApplication.BinDirectories to
            interate over the list of bin dirs.



svn path=/trunk/mcs/; revision=84684
2007-08-23 10:30:37 +00:00
Marek Habersack fcc675453f 2007-08-21 Marek Habersack <[email protected]>
* ApplicationHostTest.cs: adjust the test for the PrivateBinPath
        changes.

2007-08-21  Marek Habersack  <[email protected]>

        * ProvidersHelper.cs: use HttpApplication.LoadTypeFromPrivateBin
        to get the provider settings type.

2007-08-21  Marek Habersack  <[email protected]>

        * HttpApplicationFactory.cs: watch for changes in all the
        private binary directories for the current application domain.

        * HttpApplication.cs: turn the PrivateBinPath property into an
        internal enumerable, so that code throughout the assembly can
        iterate over the list of private bin directories configured for
        the application domain.
        Added a new internal method LoadTypeFromPrivateBin, for sharing
        with other parts of the assembly.

2007-08-21  Marek Habersack  <[email protected]>

        * SimpleWebHandlerParser.cs: use HttpApplication.PrivateBinPath
        enumerator when loading or adding assemblies from binary
        directories. Remove unused PrivateBinPath property.

        * ControlBuilder.cs: remove unused PrivateBinPath property.

        * TemplateParser.cs: use HttpApplication.PrivateBinPath when
        adding assemblis and loading types.

2007-08-21  Marek Habersack  <[email protected]>

        * ApplicationHost.cs: AppDomainSetup.PrivateBinPath should contain
        a list of paths relative to AppDomainSetup.ApplicationBase, not a
        full path.
        We no longer check if the bin directories exist, the user can
        create them while the application is running.

2007-08-21  Marek Habersack  <[email protected]>

        * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
        it's unused.

2007-08-21  Marek Habersack  <[email protected]>

        * BuildProvider.cs: use HttpApplication.PrivateBinPath enumerator
        to look up assemblies in the binary path(s).

svn path=/trunk/mcs/; revision=84589
2007-08-21 21:13:54 +00:00
Gert Driesen b857f8cee5 * PagesConfigurationHandler.cs: Use enum for EnableSessionState.
* PagesConfiguration.cs: Use enum for EnableSessionState.
* PagesEnableSessionState.cs: Marked internal on 1.0 profile.
* PageParser.cs: Replace enableSessionState and readOnlySessionState
bools with enum backed field. Move 1.0 profile code for checking value
of EnableSessionState pages config to PagesConfigurationHandler.       
Fixes bug #82392 for 1.0 profile.

svn path=/trunk/mcs/; revision=83810
2007-08-10 12:43:23 +00:00
Vladimir Krasnov 596f7c8471 * ProfileGroupSettingsCollection.cs: added ResetInternal internal method
* RootProfilePropertySettingsCollection.cs: added Reset method override to reset GroupSettings collection

svn path=/trunk/mcs/; revision=82020
2007-07-16 09:23:00 +00:00
Vladimir Krasnov 3e92b9ff04 * HttpHandlerAction.cs: fixed SplitPaths property to be thread safe
svn path=/trunk/mcs/; revision=80613
2007-06-24 08:09:40 +00:00
Marek Habersack a6c33c3bbc Disable the exception throw in this method - Adar Wesley of Mainsoft is investigating the issue.
svn path=/trunk/mcs/; revision=79992
2007-06-18 11:43:35 +00:00
Vladimir Krasnov d60585f42d * CompilationSection.cs: TARGET_JVM on not supported features
* HttpModulesSection.cs: ctor should be static

svn path=/trunk/mcs/; revision=79262
2007-06-12 13:48:18 +00:00
Adar Wesley f950fd5f7f 2007-06-03 Adar Wesley <[email protected]>
* ProfilePropertySettingsCollection.cs: added missing method
        OnDeserializeUnrecognizedElement.


svn path=/trunk/mcs/; revision=78485
2007-06-03 08:40:38 +00:00
Marek Habersack fbd041c942 2007-05-30 Marek Habersack <[email protected]>
* WebConfigurationManager.cs: if errors happen when opening the
        configuration file, mark the manager as unsafe to prevent further
        usage and avoid error loops.

2007-05-30  Marek Habersack  <[email protected]>

        * TraceManager.cs: Catch all the possible exceptions in the
        constructor - the object MUST be created successfully (even if
        there are errors).

        * HttpRequest.cs: do not attempt to apply url mappings if the
        configuration manager has errors.

        * HttpRuntime.cs: handle static constructor exceptions later on,
        during the first call to ReallyProcessRequest.

        * QueueManager.cs: provide defaults for the parameters to be read
        from the config file(s).
        Catch all the possible exceptions in the constructor - the object
        MUST be created successfully (even if there are errors).


svn path=/trunk/mcs/; revision=78208
2007-05-30 13:50:14 +00:00
Konstantin Triger 898724f159 refactoring: fix documentation attributes
svn path=/trunk/mcs/; revision=78129
2007-05-29 14:57:08 +00:00
Igor Zelmanovich 318f6b2099 2007-05-17 Igor Zelmanovich <[email protected]>
* WebConfigurationHost.cs: for TARGET_J2EE only:
	prevent NullRefference Exception.


svn path=/trunk/mcs/; revision=77541
2007-05-17 12:04:52 +00:00
Konstantin Triger a578e6444f TARGET_JVM: make handler resolution case insensitive to comply with r77418
svn path=/trunk/mcs/; revision=77461
2007-05-16 08:45:04 +00:00
Igor Zelmanovich ae1457b6dd 2007-05-15 Igor Zelmanovich <[email protected]>
* WebConfigurationManager.cs: 
	make configurations hashtable case-insensitive.
	* WebConfigurationHost.cs: for TARGET_J2EE only:
	GetStreamName returns file path in right case, that make it works 
	on case-sensitive file system.

	* ConfigurationLocationCollection.cs: for TARGET_JVM only:
	location path is case-insensitive.
		
	* PageMapper.cs: reverted r77353, 77321
	make it case-insensitive


svn path=/trunk/mcs/; revision=77415
2007-05-15 14:58:27 +00:00
Marek Habersack c7d897bbf4 2007-05-15 Marek Habersack <[email protected]>
* TemplateParser.cs: refactoring - use HttpApplication.LoadType to
	actually look up types.
	
	* ControlBuilder.cs: as above

2007-05-15  Marek Habersack  <[email protected]>

	* BuildProviderCollection.cs: refactoring - use
	HttpApplication.LoadType to actually look up the type.

	* HttpHandlerAction.cs: as above

	* WebConfigurationHost.cs: refactoring - moved the LoadType to
	HttpApplication to share the code between 1.1 and 2.0 profiles.

2007-05-15  Marek Habersack  <[email protected]>

	* ObjectDataSourceView.cs: refactoring - use
	HttpApplication.LoadType to look up types.

2007-05-15  Marek Habersack  <[email protected]>

	* HttpApplication.cs: refactoring - moved LoadType from
	WebConfigurationHost here and made it internal static, in order to
	make the code avaliable from all the places where extended type
	loading is required.


svn path=/trunk/mcs/; revision=77396
2007-05-15 09:35:00 +00:00
Marek Habersack fe24c83c72 2007-05-14 Marek Habersack <[email protected]>
* UrlMappingCollection.cs: implemented the Item (string) indexer.

        * UrlMapping.cs: implemented the URL validation callback body
        (doesn't work at the moment).

2007-05-14  Marek Habersack  <[email protected]>

        * HttpUtility.cs: when parsing query strings, skip the leading ?
        for the first parameter name.

        * HttpRequest.cs: added support for mapping urls, as defined in
        the system.web/urlMappings section.


svn path=/trunk/mcs/; revision=77381
2007-05-14 20:58:30 +00:00
Igor Zelmanovich 490aa86ced 2007-05-14 Igor Zelmanovich <[email protected]>
* WebConfigurationManager.cs: 
	make configurations synchronized.
	added new internal method RemoveConfigurationFromCache.

	* HttpApplication.cs:
	prevent DOS attack: remove configuration from the cache in case 
	of invalid resource not exists	


svn path=/trunk/mcs/; revision=77336
2007-05-14 09:47:41 +00:00
Marek Habersack c0dd53c288 2007-05-07 Marek Habersack <[email protected]>
* HttpResponseStream.cs: use BufferOutput

	* HttpResponse.cs: support Buffer, but use BufferOutput

2007-05-07  Marek Habersack  <[email protected]>

	* PagesSection.cs: buffering is on by default.

svn path=/trunk/mcs/; revision=76828
2007-05-07 14:22:18 +00:00
Konstantin Triger 697b12d28a Do not intercept the original exception
svn path=/trunk/mcs/; revision=76557
2007-05-02 09:42:51 +00:00
Marek Habersack ae40e973db 2007-04-24 Marek Habersack <[email protected]>
* WebConfigurationHost.cs: Look for types in the top-level assemblies (App_Code and
	friends).

svn path=/trunk/mcs/; revision=76165
2007-04-24 07:36:19 +00:00
Marek Habersack aef2ee73d1 2007-04-24 Marek Habersack <[email protected]>
* HttpRequest.cs: MS.NET throws HttpException for invalid paths,
	not ArgumentNullException.

	* HttpException.cs: wrap GetHtmlErrorMessage internals in
	try/catch to capture possible exceptions in HttpContext.

	* HttpContext.cs: IsCustomErrorEnabled is used from within
	HttpException, make sure it gets the section in a safe way and
	resorts to the default settings.
	
	* HttpResponse.cs: HeaderEncoding is used in the same context as
	above. Take the same precautions.

2007-04-24  Marek Habersack  <[email protected]>

	* WebConfigurationHost.cs: wrap MapPath calls in try/catch,
	because bad URLs can cause it to throw exceptions. If such
	exception is caught, throw a HttpException for Bad Request (400).

	* WebConfigurationManager.cs: added two internal methods for safe
	retrieval of config sections.


svn path=/trunk/mcs/; revision=76162
2007-04-24 06:54:27 +00:00
Marek Habersack 688bd0afca 2007-04-19 Marek Habersack <[email protected]>
* HttpHandlerAction.cs: look up types in all the toplevel
	assemblies. Fixes bug #80897.

svn path=/trunk/mcs/; revision=75959
2007-04-19 15:45:49 +00:00
Atsushi Eno dc8dd3e2c2 2007-04-17 Atsushi Enomoto <[email protected]>
* ProcessModelSection.cs : cpuMask default value should be int,
	  not uint.


svn path=/trunk/mcs/; revision=75800
2007-04-17 01:49:12 +00:00
Konstantin Triger 916e6fa9fd logically move the *.config files under META-INF folder
svn path=/trunk/mcs/; revision=75768
2007-04-16 15:17:31 +00:00