| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1ce2f56 commit f208db7
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -173,8 +173,10 @@ function ClientRequest(input, options, cb) { | |||
| 173 | 173 | ||
| 174 | 174 | if (options.path) { | |
| 175 | 175 | const path = String(options.path); | |
| 176 | - if (RegExpPrototypeExec(INVALID_PATH_REGEX, path) !== null) | ||
| 176 | + if (RegExpPrototypeExec(INVALID_PATH_REGEX, path) !== null) { | ||
| 177 | + debug('Path contains unescaped characters: "%s"', path); | ||
| 177 | 178 | throw new ERR_UNESCAPED_CHARACTERS('Request path'); | |
| 179 | + } | ||
| 178 | 180 | } | |
| 179 | 181 | ||
| 180 | 182 | if (protocol !== expectedProtocol) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments