Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: URL special characters, punycode and http

$
0
0
I found out that this same configuration tested in Firefox has a different output when tested in Chrome.
Dzhalagash Wrote:
-------------------------------------------------------
> server_name www.xn--nicolzanetti-rhb.com xn--nicolzanetti-rhb.com
> www.nicolòzanetti.com nicolòzanetti.com;
> https://www.nicolòzanetti.com -> Works!
> https://nicolòzanetti.com -> Works!
> http://www.nicolòzanetti.com -> Default virtual host and url changed
> to that of default virtual host
> http://nicolòzanetti.com -> Default virtual host and url changed to
> that of default virtual host

https://www.nicolòzanetti.com -> Works!
https://nicolòzanetti.com -> Works!
http://www.nicolòzanetti.com -> Works!
http://nicolòzanetti.com -> Works!
That's weird, maybe Chrome encodes the url differently? What may be a possible explanation? Any way to force Firefox to encode the url the same way Chrome does from the server side perspective?

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>