Commit 72da362
url: fix file state clarification in binding
An empty file URL `file:` should be parsed to `file:///` instead of
`file://`. In the `kFile` state, the process was braked immediately
when the ch is EOL, but it should work as `default` in the kFile state
to adjust slashes.
Applicable cases:
* `file:#foo` => `file:///#foo`
* `file:?bar` => `file:///?bar`
PR-URL: #11123
Fixes: #10978
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>1 parent 12cf359 commit 72da362
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1074 | 1074 | | |
1075 | 1075 | | |
1076 | 1076 | | |
| 1077 | + | |
1077 | 1078 | | |
1078 | | - | |
| 1079 | + | |
| 1080 | + | |
1079 | 1081 | | |
1080 | 1082 | | |
1081 | 1083 | | |
| |||
1092 | 1094 | | |
1093 | 1095 | | |
1094 | 1096 | | |
| 1097 | + | |
1095 | 1098 | | |
1096 | | - | |
1097 | 1099 | | |
1098 | 1100 | | |
1099 | 1101 | | |
| |||
1109 | 1111 | | |
1110 | 1112 | | |
1111 | 1113 | | |
| 1114 | + | |
1112 | 1115 | | |
1113 | | - | |
1114 | 1116 | | |
1115 | 1117 | | |
1116 | 1118 | | |
| |||
0 commit comments