Commit Graph
13 Commits
Author SHA1 Message Date
Marek Habersack a50b2872dd 2008-02-28 Marek Habersack <[email protected]>
* HandlerFactoryConfiguration.cs: ignore case when matching
        handler paths.
2008-02-28  Marek Habersack  <[email protected]>

        * HttpHandlerAction.cs: ignore case when matching handler
        paths. Fixes bug #364995
2008-02-28  Marek Habersack  <[email protected]>

        * TemplateControlParser.cs: when registering a control, check for
        the .ascx extension case-insensitively. Fixes bug #364995


svn path=/trunk/mcs/; revision=96870
2008-02-28 13:14:20 +00:00
Daniel Nauck 32e183b6cc 2008-01-27 Daniel Nauck <[email protected]>
* HttpHandlerAction.cs: fixed the internal method PathMatches ()
	removed wrong caching of FileMatchingInfo classes with request specific
	informations. Now we check against the current request path and cache
	the result in a dictionary.
	Also check correctly against all possible paths from the HttpHandler.


svn path=/trunk/mcs/; revision=94082
2008-01-27 21:42:31 +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
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
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
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 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
Vladimir Krasnov 0cd237bfa0 * HttpHandlerAction.cs: fixed 'verb' config property
svn path=/trunk/mcs/; revision=69589
2006-12-17 09:20:02 +00:00
Andrew Skiba ab693f5a92 keep the internal exception
svn path=/trunk/mcs/; revision=60490
2006-05-10 06:04:54 +00:00
Chris Toshok c9cb0ba6cf 2005-11-28 Chris Toshok <[email protected]>
* HttpHandlerAction.cs: add some c&p code from the 1.1 config
	stuff to look for matching handlers.
	(..ctor): add parameterless ctor.
	
	* HttpHandlerActionCollection.cs: clean up formatting.
	(CreateNewElement): call the parameter-less ctor for
	HttpHandlerAction.

	* HttpHandlersSection.cs (..ctor): add a ConfigurationProperty for
	the default collection.
	(get_Handlers): implement.
	(LocateHandler): copy over (and massage) some 1.1 config code.

	* MachineKeySection.cs: move some code over from the 1.1 config
	code to deal with autogeneration of keys, as well as converting
	from the string rep to the byte[] rep.


svn path=/trunk/mcs/; revision=53577
2005-11-28 20:25:48 +00:00
Chris Toshok 44e6fb7274 2005-11-23 Chris Toshok <[email protected]>
* ProfilePropertyNameValidator.cs: new implementation.
	
	* ProfilePropertySettings.cs, ProfileGroupSettings.cs,
	ClientTargetSection.cs, ClientTargetSection.cs,
	BufferModeSettings.cs, HttpModulesSection.cs,
	WebPartsPersonalization.cs, TransformerInfo.cs, TrustLevel.cs,
	NamespaceInfo.cs, SqlCacheDependencyDatabase.cs,
	AuthenticationSection.cs, RuleSettings.cs,
	FormsAuthenticationUser.cs, WebPartsSection.cs, BuildProvider.cs,
	WebPartsPersonalizationAuthorization.cs, Compiler.cs,
	ExpressionBuilder.cs, OutputCacheProfile.cs,
	FormsAuthenticationCredentials.cs, XhtmlConformanceSection.cs,
	OutputCacheSettingsSection.cs, CustomError.cs, TraceSection.cs,
	ExpressionBuilderCollection.cs, ProfileSettings.cs,
	SessionStateSection.cs, HealthMonitoringSection.cs,
	FormsAuthenticationConfiguration.cs, HttpRuntimeSection.cs,
	SessionPageStateSection.cs, TrustSection.cs,
	AnonymousIdentificationSection.cs, WebControlsSection.cs,
	ClientTarget.cs, TagMapInfo.cs, AuthorizationSection.cs,
	ProcessModelSection.cs, RoleManagerSection.cs,
	MembershipSection.cs, CustomErrorsSection.cs (..cctor): fix
	validator/converters.
	
	* MachineKeySection.cs (..cctor): fix validators/converters.
	(Validation): enable the Converter.
	
	* CodeSubDirectory.cs (..cctor): fix validator/converters.
	(DirectoryName): add note about missing validator decoration.
	
	* HttpModuleAction.cs (..cctor): init properties.
	(Properties): return properties.
	
	* CompilationSection.cs (..cctor): fix validator/converters.
	(GetInstance): add in this pre-2.0 interface for the time being,
	hopefully it'll make it easier to migrate later on.
	
	* HttpHandlerActionCollection.cs (..cctor): init properties.
	(Properties): return properties.

	* PagesSection.cs (..cctor): fix validator/converters.
	(GetInstance): add in this pre-2.0 interface for the time being,
	hopefully it'll make it easier to migrate later on.
	
	* HttpHandlersSection.cs (..cctor): init properties.
	(Properties): return properties.
	
	* EventMappingSettings.cs (..cctor): fix validator/converters.
	(Name): add note about missing validator decoration.
	
	* HttpHandlerAction.cs (..cctor): fix validator/converters.
	(PAth, Type, Verb): add note about missing validator decoration.

	* NamespaceCollection.cs (..cctor): fix properties.

	* ProfilePropertySettingsCollection.cs (..cctor): init properties.
	(..ctor): don't throw NIE.
	(Properties): return properties.

	* HttpModuleActionCollection.cs (..cctor): init properties.
	(Properties): return properties.

	* CacheSection.cs (..cctor): fix validators/converters.
	(PrivateBytesPollTime): add note about missing validator
	decoration.

	* AuthorizationRule.cs (..cctor): fix validators/converters.
	(Roles, Users, Verbs): enable the TypeConverter decorations.
	
	* UrlMapping.cs (ValidateUrl): static method for use as a
	validation callback.  unimplemented as yet.
	(..cctor): fix validators/converters.
	(MappedUrl): add note about missing validator decoration.
	
	* PropertyHelper.cs: static utility class which contains
	references to validators and converters for use in static
	constructors (building the Properties arrays).


svn path=/trunk/mcs/; revision=53428
2005-11-24 04:53:26 +00:00
Chris Toshok 3a6a88f43d 2005-11-04 Chris Toshok <[email protected]>
* System.Web.dll.sources: add the S.W.C_2.0/HttpModule*.cs files,
	and nuke S.W.C_2.0/InternalSection.cs.

	* System.Web.Configuration_2.0/SystemWebSectionGroup.cs: enable
	the HttpModules property.

	* System.Web.Configuration_2.0/HttpHandlerActionCollection.cs:
	reindent, and add MonoTODO's.

	* System.Web.Configuration_2.0/HttpHandlerAction.cs: use
	properties in the ctor, and remove the instance variables.

	* System.Web.Configuration_2.0/InternalSection.cs: nuke.

	* System.Web.Configuration_2.0/HttpModuleActionCollection.cs: new
	stubs.

	* System.Web.Configuration_2.0/HttpModuleAction.cs: new stubs.

	* System.Web.Configuration_2.0/HttpModulesSection.cs: new stubs.

	* System.Web.Configuration_2.0/CompilationSection.cs: inherit from
	ConfigurationSection, not InternalSection.

	* System.Web.Configuration_2.0/SiteMapSection.cs: same.

	* System.Web.Configuration_2.0/PagesSection.cs: same.

	* System.Web.Configuration_2.0/MembershipSection.cs: same.

	* System.Web.Configuration_2.0/AnonymousIdentificationSection.cs:
	same.


svn path=/trunk/mcs/; revision=52587
2005-11-04 18:07:41 +00:00
Chris Toshok 25a65a1755 start populating the new System.Web.Configuration_2.0 dir
svn path=/trunk/mcs/; revision=52416
2005-10-31 18:56:39 +00:00