Piotr Caban : mshtml: Impoved implementation of nsURI_GetAsciiHost.

Alexandre Julliard julliard at winehq.org
Mon Nov 8 11:46:21 CST 2010


Module: wine
Branch: master
Commit: 872ba8af29aeac72c0dbde2d26f70296b58639ef
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=872ba8af29aeac72c0dbde2d26f70296b58639ef

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Sun Nov  7 18:46:54 2010 +0100

mshtml: Impoved implementation of nsURI_GetAsciiHost.

---

 dlls/mshtml/nsio.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c
index 18526a5..578f1b5 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -2101,8 +2101,8 @@ static nsresult NSAPI nsURI_GetAsciiHost(nsIURL *iface, nsACString *aAsciiHost)
     if(This->nsuri)
         return nsIURI_GetAsciiHost(This->nsuri, aAsciiHost);
 
-    FIXME("default action not implemented\n");
-    return NS_ERROR_NOT_IMPLEMENTED;
+    FIXME("Use Uri_PUNYCODE_IDN_HOST flag\n");
+    return get_uri_string(This, Uri_PROPERTY_HOST, aAsciiHost);
 }
 
 static nsresult NSAPI nsURI_GetOriginCharset(nsIURL *iface, nsACString *aOriginCharset)




More information about the wine-cvs mailing list