Repository navigation
Commit b684e7b
committed
fix(runtime): never report an http(s) module URL as a file:// URL
ReportedModuleUrl tested for a URL scheme before asking whether the string is an http(s) URL, so one the loader accepts with leading whitespace or C0 controls failed the scheme test and was prefixed with file://. It now spells http(s) URLs first; other inputs are reported as before.1 parent e6b5bf0 commit b684e7b
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
144 | 151 | | |
145 | | - | |
146 | | - | |
| 152 | + | |
147 | 153 | | |
148 | 154 | | |
149 | 155 | | |
| |||
0 commit comments