diff options
Diffstat (limited to 'mcs/class/referencesource/System.Web/Configuration/WebConfigurationHost.cs')
-rw-r--r-- | mcs/class/referencesource/System.Web/Configuration/WebConfigurationHost.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mcs/class/referencesource/System.Web/Configuration/WebConfigurationHost.cs b/mcs/class/referencesource/System.Web/Configuration/WebConfigurationHost.cs index 7c7f605996a..143b9eca9dd 100644 --- a/mcs/class/referencesource/System.Web/Configuration/WebConfigurationHost.cs +++ b/mcs/class/referencesource/System.Web/Configuration/WebConfigurationHost.cs @@ -476,9 +476,9 @@ namespace System.Web.Configuration { // with these characters. We fallback to the default GetStreamName failure behavior which is to // return null. - // Dev10 - - + // Dev10 Bug 835901: '?' (%3F), '*' (%2A), and ':' (%3A) are valid in a URL. We need to return null + // if the path contains one of these characters. Instead of explicitly checking for these characters, + // we will rely on Path.Combine and Path.GetFullPath to throw when the path is invalid. return CombineAndValidatePath(directory, baseName); } |