New issue
Advanced search Search tips

Issue 884551 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Sep 18
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

urls containing multiple protocols not parsed correctly

Reported by jonathan...@googlemail.com, Sep 16

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

Example URL:
http://ftp://192.168.178.39

Steps to reproduce the problem:
1. type in url http://ftp://192.168.178.39
2. enter
3. 

What is the expected behavior?
got to ftp://192.168.178.39

What went wrong?
the  ":" is missing in the new url

Did this work before? N/A 

Chrome version: 68.0.3440.106  Channel: stable
OS Version: 10.0
Flash Version: 

this could also be intended behaviour for some other usecase.
yes i realize this is generally not how youre supposed to use urls :D
 
Labels: Needs-Triage-M68
Status: WontFix (was: Unconfirmed)
Behaviors not specified by https://url.spec.whatwg.org/ are WontFix.

Unwrapping another protocol from within http:// would be unexpected.

The browsers I tested (Chrome, Firefox, Safari) agree on the current behavior, which considers that URL as having a bogus port section and hence parses to host=ftp, path=//192.168.178.39.

Sign in to add a comment