Host name in URL not shown for https requests
See original GitHub issueThe current release displays the URL just fine:
https://encrypted.google.com/search?q=foo
The current development version, however, only displays the IP:
https://173.194.70.101/search?q=foo
HTTP requests are not affected. The issue appears first in 9130cd6.
Issue Analytics
- State:
- Created 11 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
How to get host name with port from a http or https request
You can use HttpServletRequest.getScheme() to retrieve either "http" or "https". Using it along with HttpServletRequest.getServerName() should be enough to ...
Read more >Why do HTTPS requests include the host name in clear text?
To clarify: I used to think that the HTTP Host header was somehow left visible when HTTPS is used. That's not the case....
Read more >URL.hostname - Web APIs - MDN Web Docs - Mozilla
The hostname property of the URL interface is a string containing the domain name of the URL.
Read more >The components of a URL - IBM
It can be HTTP (without SSL) or HTTPS (with SSL). A host. The host name identifies the host that holds the resource. For...
Read more >Enabling HTTPS on your servers - web.dev
If you have many hostnames or subdomains, they each need to use the right certificate. Warning. Warning: If you've already completed these steps ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Note to future readers: the cli option enabling host-header-as-url-authority is now
--showhost
It can also be activated under the option menu (press uppercase
O
while in terminal mode) next to “showhost” (options are alphabetically sorted).If you are using python script and try to get the url, you might try
request.pretty_host
instead ofrequest.host
.