You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.
If a configuration key starts with :, ConfigurationRoot.GetChildrenImplementation() generates an infinite Linq query. This is because a key named e.g. :foo is read as <empty>:foo, which creates a ConfigurationSection with Path = "". ConfigurationSection in turn calls GetChildrenImplementation(Path) in order to traverse it's own children, but because it's Path property is set to "", the call is the same as the one made by ConfigurationRoot.GetChildren(), this causing an infinite loop.
The text was updated successfully, but these errors were encountered:
If a configuration key starts with
:
,ConfigurationRoot.GetChildrenImplementation()
generates an infinite Linq query. This is because a key named e.g.:foo
is read as<empty>:foo
, which creates aConfigurationSection
withPath = ""
.ConfigurationSection
in turn callsGetChildrenImplementation(Path)
in order to traverse it's own children, but because it'sPath
property is set to""
, the call is the same as the one made byConfigurationRoot.GetChildren()
, this causing an infinite loop.The text was updated successfully, but these errors were encountered: