nsStandardURL::SetHostPort should reset the port to default if no port is present

NEW
Unassigned

Status

()

Core
Security: CAPS
3 years ago
3 years ago

People

(Reporter: mystor, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
STR:
x = makeURI('https://example.com:8000');
x.hostPort = 'example.org';

x.spec // 'https://example.org:8000'
x.hostPort // 'example.org:8000'
You need to log in before you can comment on or make changes to this bug.