Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL Invalid #1

Open
dacoffey opened this issue Apr 7, 2021 · 3 comments
Open

URL Invalid #1

dacoffey opened this issue Apr 7, 2021 · 3 comments

Comments

@dacoffey
Copy link
Member

dacoffey commented Apr 7, 2021

[2021-04-07|00:53:47] TRACE: WEBGATE {"REQ":{"HOST":"112.124.42.80:63435","URL":"http://112.124.42.80:63435/"}}
[2021-04-07|00:53:47] TRACE: WEBGATE 60.191.125.35 HEAD http://112.124.42.80:63435http://112.124.42.80:63435/ {"Admin":false,"Open":{"HTTP":40,"HTTPS":4}}
[2021-04-07|00:53:47] TRACE: WEBGATE 60.191.125.35 HEAD http://112.124.42.80:63435http://112.124.42.80:63435/ {"Admin":false,"Method":"HEAD","URL":"http://112.124.42.80:63435http://112.124.42.80:63435/","Headers":{"accept-encoding":"gzip","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36","bs_real_ip":"TmpBdU1Ua3hMakV5TlM0ek5RPT0=","host":"112.124.42.80:63435","accept":"text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2","proxy-connection":"keep-alive","x-forwarded-for":"60.191.125.35","x-forwarded-host":"112.124.42.80:63435","x-forwarded-proto":"http"}}


TypeError [ERR_INVALID_URL]: Invalid URL: http://112.124.42.80:63435http://112.124.42.80:63435/
    at new NodeError (node:internal/errors:329:5)
    at onParseError (node:internal/url:282:9)
    at new URL (node:internal/url:358:5)
    at Server.App.ServerHander (/app/app.js:461:10)
    at Server.emit (node:events:378:20)
    at parserOnIncoming (node:_http_server:933:12)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:129:17) {
  input: 'http://112.124.42.80:63435http://112.124.42.80:63435/',
  code: 'ERR_INVALID_URL'
}
dacoffey added a commit that referenced this issue Apr 7, 2021
@dacoffey
Copy link
Member Author

dacoffey commented Apr 7, 2021

Tried to fix this with a new INVALID type, need to test with curl

@dacoffey
Copy link
Member Author

dacoffey commented Apr 9, 2021

6151206

@dacoffey
Copy link
Member Author

dacoffey commented Apr 9, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant