diff options
author | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2005-12-02 22:01:47 +0300 |
---|---|---|
committer | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2005-12-02 22:01:47 +0300 |
commit | 7510c8e3d4271f3f9572bddd82fedeeca7ae777c (patch) | |
tree | c0362409c62dbfce38566aaaf11664abdc2b2400 /mcs/class/System.Web/System.Web.Configuration/HttpHandlersSectionHandler.cs | |
parent | 740cbcf8cb501754a04f070ddace3cd5989785c9 (diff) |
2005-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpHandlersSectionHandler.cs:
* HandlerFactoryConfiguration.cs: we need to use a copy of the parent
mappings, otherwise we may remove mappings from the parent. Fix a typo
when removing the item from the collection. Now LocateHandler searches
first for this configuration mappings and then for the parent ones.
Fixes (truly) bug #76842.
svn path=/trunk/mcs/; revision=53839
Diffstat (limited to 'mcs/class/System.Web/System.Web.Configuration/HttpHandlersSectionHandler.cs')
-rw-r--r-- | mcs/class/System.Web/System.Web.Configuration/HttpHandlersSectionHandler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Web/System.Web.Configuration/HttpHandlersSectionHandler.cs b/mcs/class/System.Web/System.Web.Configuration/HttpHandlersSectionHandler.cs index b19b7beeff3..ac9af341c34 100644 --- a/mcs/class/System.Web/System.Web.Configuration/HttpHandlersSectionHandler.cs +++ b/mcs/class/System.Web/System.Web.Configuration/HttpHandlersSectionHandler.cs @@ -92,7 +92,7 @@ namespace System.Web.Configuration if (child.Attributes != null && child.Attributes.Count != 0) HandlersUtil.ThrowException ("Unrecognized attribute", child); - if (validate && mapper.Remove (verb, path) == null) + if (validate && false == mapper.Remove (verb, path)) HandlersUtil.ThrowException ("There's no mapping to remove", child); continue; |