diff options
author | Kenneth Pouncey <kjpou@pt.lu> | 2019-03-28 08:42:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-28 08:42:10 +0300 |
commit | 4904dac43029409c31674028364d8cabfec043ba (patch) | |
tree | 96f93ec45897e6c652ea99fdd10213c82c488f6d /mcs/class/referencesource | |
parent | 5433bd030ea2d6645c333845408fb5e1b1bd5d5b (diff) |
[wasm] Fix System.DllNotFoundException: libc
Fixes issue: https://github.com/mono/mono/issues/12871
Diffstat (limited to 'mcs/class/referencesource')
-rw-r--r-- | mcs/class/referencesource/System/net/System/Net/cookiecontainer.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mcs/class/referencesource/System/net/System/Net/cookiecontainer.cs b/mcs/class/referencesource/System/net/System/Net/cookiecontainer.cs index a97f9ae48b1..9cc463ec1c7 100644 --- a/mcs/class/referencesource/System/net/System/Net/cookiecontainer.cs +++ b/mcs/class/referencesource/System/net/System/Net/cookiecontainer.cs @@ -6,7 +6,7 @@ // Relevant cookie specs: // -// PERSISTENT CLIENT STATE HTTP COOKIES (1996) +// PERSISTENTÂ CLIENTÂ STATE HTTP COOKIES (1996) // From <http://web.archive.org/web/20020803110822/http://wp.netscape.com/newsref/std/cookie_spec.html> // // RFC2109 HTTP State Management Mechanism (February 1997) @@ -119,11 +119,13 @@ namespace System.Net { /// <para>[To be supplied.]</para> /// </devdoc> public CookieContainer() { +#if !WASM string domain = IPGlobalProperties.InternalGetIPGlobalProperties().DomainName; if (domain != null && domain.Length > 1) { m_fqdnMyDomain = '.' + domain; } +#endif //Otherwise it will remain string.Empty } |