Closed
Bug 1839303
Opened 1 years ago
Closed 1 year ago
URL constructor only works properly with http/https urls
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1326394
People
(Reporter: hammeradam894, Unassigned)
References
Details
Attachments
(1 file)
472.41 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/114.0
Steps to reproduce:
I tried to create a new URL from a string that has a protocol other than http/https in javascript.
Eg: "amqp://guest:guest@127.0.0.1:5672/test"
Actual results:
The url that was created was not parsed correctly. Can't get the information about the protocol, port etc. used.
Expected results:
Doing the same in safari, node js or bun parses the url correctly.
Comment 1•1 years ago
|
||
This may be a duplicate of bug 1326394, but moving across to Web Compatibility in the first instance for their awareness/checking.
Updated•1 year ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1326394
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•