**** Merged from MCS ****
[mono-project.git] / mcs / class / System / Test / System / test-uri-relative-list.txt
blobfe0611b9c7275bed31f3c9908c393c173e870bb2
1 server
2 server/
3 server/maybe_file
4 server/directory/
5 server.com
6 server.com/
7 server.com/maybe_file
8 server.com/directory/
9 # http:server ... should not be allowed
10 c:/foo.txt
11 c:\foo.txt
12 c:/foo.txt
13 # /usr/local/bin ... doesn't pass. it is critical problem of MS.NET
14 \\server
15 # ///server ... this became UNC server name in MS.NET
16 server
17 server/
18 server/maybe_file
19 server/directory/
20 server.com
21 ## below should be treated as UNC server
22 readme.txt
23 server.com/
24 # file:server.com
25 # file:server.com/
26 # file:server
27 server.com/maybe_file
28 server.com/directory/
29 ## Below are taken from UriTest.cs
30 contoso.com?subject=uri
31 mailto:user:pwd@contoso.com?subject=uri
32 \\myserver\mydir\mysubdir\myfile.ext
33 www.contoso.com
34 www.contoso.com/foo/bar/index.html?x=0
35 c:\tmp\hello.txt
36 # //////cygwin/tmp/hello.txt : it became impossible
37 mymachine/cygwin/tmp/hello.txt
38 # ///c:/cygwin/tmp/hello.txt
39 one_file.txt
40 cygwin/tmp/hello.txt
41 server/filename.ext
42 \\server\share\filename.ext
43 1.2.3.4
44 1.2.3.4
45 # file:
46 # http:
47 # makefile
48 # gopher:
49 # ftp:
50 # file:/
51
52 # / ... however, should be allowed in Unix file path.
53 # \
54 # c:
55 # /c: ... however, should be allowed in Windows file path.
56 # news: ... in fact MS passes this.
57 # Below should be allowed
58 localhost/c#
59 localhost/c#bookmark
60 localhost/c#
61 # this passes... it breaks RFC 2396 rule.
63 mailto:c#
64 c#bookmark
66 # non-standard scheme
68 urn:mono-uri-test
69 # This "8080" is not a port specifier. This is "opaque part" (RFC 2396)
70 urn:mono-uri-test:8080
71 # But here, it is interpreted as a host name.
72 urn://mono-uri-test:8080
73 # Scheme cannot start with non-alphabetic character, but MS fails to reject
74 ファイル:myserver/foo.txt
75 ファイル://myserver/foo.txt
76 辭典://cn_to_ja/
78 # still looks TODO (EscapeString)
80 web.app.com/test.cgi?value=あいうえお
81 辭典:cn_to_ja/ファイル
82 ファイル:
83 辭典:
86 # below should not be allowed but MS passes.
87 c:/c#
90 # MS.NET supplies no host info (consoto.com), but I think Mono is better.
91 # news:123456@contoso.com
93 # MS handles it as http, but it is inconsistent with \\server as file.
94 # //server
95 # //localhost/c#