Closed Bug 2003833 Opened 18 hours ago Closed 8 hours ago

When fetching a local network address in a background script, it incorrectly and automatically redirects to HTTPS.

Categories

(Core :: DOM: Security, defect)

Firefox 145
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: ab6mubdf, Unassigned)

Details

Attachments

(1 file)

Attached image image(1).png

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:145.0) Gecko/20100101 Firefox/145.0

Steps to reproduce:

Create an extension with the following background script, then install and run it.

let url = "http://192.168.xx.xx:8080/status"
console.log("URL: " + url)
fetch(url)

Actual results:

Requests are automatically redirected to HTTPS and fail.

Expected results:

Successful fetch Without Redirecting To HTTPS

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Security' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Security
Product: Firefox → Core
Status: UNCONFIRMED → RESOLVED
Closed: 8 hours ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: