Annotation of parser3/tests/results/459.processed, revision 1.2
1.1 moko 1: Content-Type: text/html
1.2 ! moko 2: Content-Length: 3532
1.1 moko 3:
4: schemes:
5: load parser://: Exception: unsupported path scheme
6: load http:// is allowed: allowed
7: table::load http:// is allowed: allowed
8: table::load file://: loaded
9: fullpath http://: Exception: unsupported path scheme
10: a built uri keeps the scheme: Exception: unsupported path scheme
11: scheme only at the start: /tests/x/file:///etc/passwd
12: empty file:// rejected: Exception: must be file:///path or file://localhost/path
13: use file://: used
14: use http://: Exception: unsupported path scheme
15: windows-only file://C:/ form: ok
16: throwing:
17: save refuses a uri: Exception: unsupported path scheme
18: save refuses an invalid file://: Exception: must be file:///path or file://localhost/path
19: delete refuses a uri: Exception: unsupported path scheme
20: delete with exception(false) ignores a uri: silent
21: delete with exception(false) ignores an invalid file://: silent
22: find never finds a uri: not found
23: find does not throw on an invalid file://: not found
24: -f and -d do not throw on a uri or an invalid file://: no
25: -f and -d accept file://: yes
1.2 ! moko 26: backslash:
! 27: save creates the directories: 459_tmp/b/c.txt
! 28: -f: yes
! 29: load: text
! 30: list: b
! 31: delete removes the directories: removed
! 32: fullpath of a relative name: /tests/a/x.gif
! 33: fullpath of a web path: /tests/459.html
! 34: a leading backslash is a web path: /tests/459.html
! 35: find relative to the request uri: /tests/366_dir/test.p
! 36: find climbs up: /tests/Makefile
! 37: -f file://: yes
! 38: find file://: /tests/366_dir/test.p
! 39: delete file://: deleted
! 40: use: used
! 41: dirname keeps the string: x\y
! 42: basename: z.txt
1.1 moko 43: document-root:
44: plain:
1.2 ! moko 45: document-root is returned as given: <root>
1.1 moko 46: file:// loads the same file: loaded
47: fullpath of a relative name: ok
48: fullpath maps file:// to web space: ok
49: fullpath maps file://localhost/ to web space: ok
50: find maps file:// to web space: ok
51: find climbs up from a disk path: ok
52: find climbs up from a web path: /tests/Makefile
53: find relative to the request uri: /tests/Makefile
54: localhost authority allowed: Exception: is outside of $request:document-root [<root>]
55: fullpath outside the root: Exception: is outside of $request:document-root [<root>]
56: find outside the root: NOT FOUND
57: with a trailing slash:
1.2 ! moko 58: document-root is returned as given: <root>/
1.1 moko 59: file:// loads the same file: loaded
60: fullpath of a relative name: ok
61: fullpath maps file:// to web space: ok
62: fullpath maps file://localhost/ to web space: ok
63: find maps file:// to web space: ok
64: find climbs up from a disk path: ok
65: find climbs up from a web path: /tests/Makefile
66: find relative to the request uri: /tests/Makefile
67: localhost authority allowed: Exception: is outside of $request:document-root [<root>/]
68: fullpath outside the root: Exception: is outside of $request:document-root [<root>/]
69: find outside the root: NOT FOUND
70: empty:
1.2 ! moko 71: document-root is returned as given:
1.1 moko 72: file:// loads the same file: loaded
73: fullpath of a relative name: ok
74: fullpath maps file:// to web space: ok
75: fullpath maps file://localhost/ to web space: ok
76: find maps file:// to web space: ok
77: find climbs up from a disk path: ok
78: find climbs up from a web path: NOT FOUND
79: find relative to the request uri: NOT FOUND
80: localhost authority allowed: /nonexistent-459
81: fullpath outside the root: /nonexistent-459
82: find outside the root: NOT FOUND
83: segment boundary:
84: disk path: Exception: is outside of $request:document-root [<root>/tes]
85: relative name: Exception: is outside of $request:document-root [<root>/tes]
1.2 ! moko 86: unc:
! 87: file://server/share: ok
! 88: file:////server/share: /x.gif
! 89: file:///\\server\share: ok
E-mail: