- Đã giải quyết
I have to access a number of HTTP (not S) servers on a private work network. The URLs all look like http://resource.infra.example.com. Using Firefox 88.0 the protocol URL… (xem thêm)
I have to access a number of HTTP (not S) servers on a private work network. The URLs all look like http://resource.infra.example.com. Using Firefox 88.0 the protocol URL is automatically changed to https:// and I get an error "Unable to connect. Firefox can’t establish a connection to the server at recourse.infra.example.com". This makes sense because these servers are not HTTPS, but Firefox's behavior seems broken.
I *do* get redirected with a fresh profile in Firefox 88.0. I *do* get redirected in safe mode in Firefox 88.0. I *do* get redirected in Firefox 89.0b4. I *do* get redirected in >= 88.0 regardless of whether HTTPS Only is enabled in Preferences (if it's enabled I get the new HTTP warning, and then I get redirected to HTTPS) I *don't* get redirected in Firefox 87.0 (regardless of profile or safe mode) I *don't* get redirected in Safari and Chrome. I *don't* get redirected by curl. Inspecting these sites's headers with curl gives:
$ curl -sI http://resource.infra.example.com HTTP/1.1 200 OK Content-Length: 4198 Content-Type: text/html; charset=utf-8 Date: Wed, 28 Apr 2021 02:43:01 GMT Etag: W/"1066-CEROUmmTJBPO73vecAgQwYdTSow" Vary: Accept-Encoding X-Content-Type-Options: nosniff X-Dns-Prefetch-Control: off X-Download-Options: noopen X-Frame-Options: SAMEORIGIN X-Xss-Protection: 1; mode=block
It seems like something changed in 88.0, but I don't see anything related to HTTPS in the 88.0 release notes: https://www.mozilla.org/en-US/firefox/88.0/releasenotes/.
What changed? How can I fix it?