[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: domain=.google.cn
In Japanese.
ども、長です。
2008/1/22, Katsumi Yamaoka <yamaoka@xxxxxxx>:
> >>>>> In [emacs-w3m : No.09954] Lazycat Manatee wrote:
>
> > The rule of construct the top level domain name in China is,
> > example about google.
> > www.google.com or www.google.cn don't like Japanese's www.google.co.jp
> > don't have any website use like foo.com.cn bar.net.cn, only will use
> > like:
> > name.cn name.com name.net.
>
> Thanks. So, this patch will do the trick. Could you try it?
>
> --8<---------------cut here---------------start------------->8---
> --- w3m-cookie.el~ 2007-10-17 11:15:57 +0000
> +++ w3m-cookie.el 2008-01-22 08:34:44 +0000
> @@ -50,7 +50,8 @@
>
> (defconst w3m-cookie-two-dot-domains-regexp
> (concat "\\.\\(?:"
> - (mapconcat 'identity (list "com" "edu" "net" "org" "gov" "mil" "int")
> + (mapconcat 'identity
> + (list "com" "edu" "net" "org" "gov" "mil" "int" "cn")
> "\\|")
> "\\)$")
> "A regular expression of top-level domains that only require two matching
> --8<---------------cut here---------------end--------------->8---
>
これって、日本も対応が必要かもしれませんね。
ex http://tsite.jp/
みたいなアドレスのサイトもあるので。
ただ、不具合をおこすかは確認できていません。
更なる根本対処も検討しないといけないのでしょうか...