Closed
Bug 224775
Opened 22 years ago
Closed 20 years ago
non-IDN dns lookup for IDN domain name
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
EXPIRED
People
(Reporter: ast, Assigned: darin.moz)
Details
(Keywords: intl)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031022
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031022
When Mozilla is set up for internet access through a proxy (proxy script)
it does first a nameserver lookup on an IDN domain name with a not IDN encoded
domain name. Only after this query times out the IDN is properly encoded and
passed to the proxy. This is a violation of rfc3490 (see chapter 6.2).
Note that I did test this only with a proxy configuration script.
Reproducible: Always
Steps to Reproduce:
1. Set up Mozilla for use through a proxy (automatic proxy configuration script)
2. Enter e.g. www.müller.de in the location bar
3. hit enter
Actual Results:
excerpts from the tcpdump of the above request:
13:11:21.939751 10.1.9.223.1028 > 10.1.9.1.53: 61459+ A? www.mM-|ller.de. (31) (DF)
13:11:21.940169 10.1.9.1.53 > 10.1.9.223.1028: 61459 FormErr [0q] 0/0/0 (12) (D
F)
13:11:26.947277 10.1.9.223.1028 > 10.1.9.1.53: 61459+ A? www.mM-|ller.de. (31)
(DF)
13:11:26.947724 10.1.9.1.53 > 10.1.9.223.1028: 61459 FormErr [0q] 0/0/0 (12) (D
F)
<snip>
13:12:12.054716 10.1.9.223.1341 > 10.1.1.1.8080: P 1:446(445) ack 1 win 5840 (DF
)
0x0000 4500 01e5 02ad 4000 4006 1785 0a01 09df E.....@.@.......
0x0010 0a01 0101 053d 1f90 d1bf 8ee2 d1c4 4868 .....=........Hh
0x0020 5018 16d0 3a64 0000 4745 5420 6874 7470 P...:d..GET.http
0x0030 3a2f 2f77 7777 2e78 6e2d 2d6d 6c6c 6572 ://www.xn--mller
0x0040 2d6b 7661 2e64 652f 2048 5454 502f 312e -kva.de/.HTTP/1.
0x0050 310d 0a48 6f73 743a 2077 7777 2e78 6e2d 1..Host:.www.xn-
0x0060 2d6d 6c6c 6572 2d6b 7661 2e64 650d 0a55 -mller-kva.de..U
0x0070 7365 722d 4167 656e 743a 204d 6f7a 696c ser-Agent:.Mozil
0x0080 6c61 2f35 2e30 2028 5831 313b 2055 3b20 la/5.0.(X11;.U;.
0x0090 4c69 6e75 7820 6936 3836 3b20 656e 2d55 Linux.i686;.en-U
0x00a0 533b 2072 763a 312e 3529 2047 6563 6b6f S;.rv:1.5).Gecko
0x00b0 2f32 3030 3331 3032 320d 0a41 6363 6570 /20031022..Accep
0x00c0 743a 2074 6578 742f 786d 6c2c 6170 706c t:.text/xml,appl
0x00d0 6963 6174 696f 6e2f 786d 6c2c 6170 706c ication/xml,appl
0x00e0 6963 6174 696f 6e2f 7868 746d 6c2b 786d ication/xhtml+xm
0x00f0 6c2c 7465 7874 2f68 746d 6c3b 713d 302e l,text/html;q=0.
0x0100 392c 7465 7874 2f70 6c61 696e 3b71 3d30 9,text/plain;q=0
0x0110 2e38 2c69 6d61 6765 2f70 6e67 2c69 6d61 .8,image/png,ima
0x0120 6765 2f6a 7065 672c 696d 6167 652f 6769 ge/jpeg,image/gi
0x0130 663b 713d 302e 322c 2a2f 2a3b 713d 302e f;q=0.2,*/*;q=0.
0x0140 310d 0a41 6363 6570 742d 4c61 6e67 7561 1..Accept-Langua
0x0150 6765 3a20 656e 2d75 732c 656e 3b71 3d30 ge:.en-us,en;q=0
0x0160 2e35 0d0a 4163 6365 7074 2d45 6e63 6f64 .5..Accept-Encod
0x0170 696e 673a 2067 7a69 702c 6465 666c 6174 ing:.gzip,deflat
0x0180 650d 0a41 6363 6570 742d 4368 6172 7365 e..Accept-Charse
0x0190 743a 2049 534f 2d38 3835 392d 3135 2c75 t:.ISO-8859-15,u
0x01a0 7466 2d38 3b71 3d30 2e37 2c2a 3b71 3d30 tf-8;q=0.7,*;q=0
0x01b0 2e37 0d0a 4b65 6570 2d41 6c69 7665 3a20 .7..Keep-Alive:.
0x01c0 3330 300d 0a50 726f 7879 2d43 6f6e 6e65 300..Proxy-Conne
0x01d0 6374 696f 6e3a 206b 6565 702d 616c 6976 ction:.keep-aliv
0x01e0 650d 0a0d 0a e....
Expected Results:
A rfc compliant nameserver lookup (rfc3490 chapter 6.2).
The proxy configuration script used:
function FindProxyForURL(url,host)
{
if(isInNet(host,"10.0.0.0","255.0.0.0")||
isInNet(host,"127.0.0.0","255.0.0.0")) return "DIRECT";
list=url.split("/");
if(host!=list[2]) return "PROXY zeus.lan.domdv.de:8080";
if(url.substring(0,5)=="http:"||
url.substring(0,4)=="ftp:"||
url.substring(0,6)=="https:") return "PROXY zeus.lan.domdv.de:8080";
return "PROXY zeus.lan.domdv.de:8080";
}
.
Assignee: smontagu → darin
Component: Internationalization → Networking
QA Contact: amyy → benc
Comment 2•22 years ago
|
||
Reporter, what's the value of your network.enableIDN preference (see
about:config) ? I think it still defaults to off for Mozilla 1.5 (see bug 221437).
I can't access www.müller.de, but I can reach www.lindenstraße.de through my
proxy-server (with a PAC file).
network.enableIDN is set to false. BTW www.müller.de was just a random
test choice, not an actual existing domain.
Addendum: setting network.enableIDN to true doesn't show any change in
behaviour. This test included a mozilla restart.
related Bug 210741
Actually the 'isInNet()' function causes the problem.
If the proxy config script doens't use this function
things work as expected.
Comment 7•20 years ago
|
||
This is an automated message, with ID "auto-resolve01".
This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.
While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.
If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.
The latest beta releases can be obtained from:
Firefox: http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey: http://www.mozilla.org/projects/seamonkey/
Comment 8•20 years ago
|
||
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → EXPIRED
You need to log in
before you can comment on or make changes to this bug.
Description
•