diff options
author | musikhin <alexander.musikhin@gmail.com> | 2019-05-24 21:44:08 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-05-24 21:44:08 +0300 |
commit | b1c3216f89eff4c23d67b91aea09c7f0ae3812e3 (patch) | |
tree | 9d1912da983fd4f14a3c0674decaa512d578af46 /mcs/class/System.Web | |
parent | 94adfce7351093e0e726fea857c52f69062abb12 (diff) |
Fix SqliteMembershipProvider initialization bug, issue #14234 (#14479)
On the stage of the initialization of the SqliteMembershipProvider the existed code always produced an error "Failed to map path '/'" in case if the ASP.NET application is placed not at the root path. Detailed step by step description of the problem is provided in the issue description.
The bug was that was implemented the call of the function with wrong parameters list. So the fix was in changing the function call. The same function call is also used in SqlMembershipProvider.cs.
Fixes #14234
Diffstat (limited to 'mcs/class/System.Web')
-rw-r--r-- | mcs/class/System.Web/System.Web.Security/SqliteMembershipProvider.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Web/System.Web.Security/SqliteMembershipProvider.cs b/mcs/class/System.Web/System.Web.Security/SqliteMembershipProvider.cs index d208918ccad..4ce6640e393 100644 --- a/mcs/class/System.Web/System.Web.Security/SqliteMembershipProvider.cs +++ b/mcs/class/System.Web/System.Web.Security/SqliteMembershipProvider.cs @@ -139,7 +139,7 @@ namespace System.Web.Security } // Get encryption and decryption key information from the configuration. - m_MachineKey = (MachineKeySection)WebConfigurationManager.GetSection("system.web/machineKey", null); + m_MachineKey = (MachineKeySection)WebConfigurationManager.GetSection("system.web/machineKey"); if (!m_PasswordFormat.Equals(MembershipPasswordFormat.Clear)) { |