Comments (5)
This is a very well written issue report, however, I'm afraid that the request goes counter to one of our goals: https://url.spec.whatwg.org/#goals. In particular getting alignment across implementations. This change would likely not be web compatible and lead to broken experiences for end users.
(Apologies if browsers match what you propose and you just forgot to write that down. I'm pretty sure they don't, but I didn't double check.)
from url.
Align RFC 3986 and RFC 3987 with contemporary implementations and obsolete the RFCs in the process. (E.g., spaces, other "illegal" code points, query encoding, equality, canonicalization, are all concepts not entirely shared, or defined.) URL parsing needs to become as solid as HTML parsing. [RFC3986] [RFC3987]
I have tried to report this issue to some browsers, and here is what I got
Mozilla
From https://bugzilla.mozilla.org/show_bug.cgi?id=1879227
Me: Okay, but I still think itβs an issue, maybe with WhatWG. Iβll ask them and find out. Thank you
Mozilla: I agree. The URL is parsed according to the URL standard
Mozilla: This specific case would be a validation error, but either way the parsing is correct and all browsers agree on this behaviour.
From that snippet, in my opinion, it is unclear whether they agree or disagree on this, as they said that the parsing is correct and all browsers agree on this behaviour., but they also said "I agree" when I was referring to this behavior as an issue
Chromium
I tried to report it through Chromium's issue tracker, but I can't see the current status of my bug report
from url.
I think Valentin agreed with Tom there, not with you.
from url.
You're probably right. What does this mean for this bug report?
from url.
I'll close it as this is not something we want to change. Thanks for taking the time to report it!
from url.
Related Issues (20)
- "valid host string" does not allow for percent-encoding
- "valid domain" does not match validation errors in the host parser
- IdnaTestV2.json "xn--xn--a--gua.pt" test case problem HOT 4
- A '@' character in the host part of file URLs HOT 2
- An opaque-host parser and percent encoding HOT 2
- Use in HTTP2/3 Pseudo-Headers HOT 5
- URL path shortening for ../ creates problem with other URL parsers that do not follow the whatwg standard HOT 6
- API mechanism for reporting validity errors HOT 4
- URL path comparison
- Web compatibility issue with various unknown (external) protocols like ed2k HOT 10
- Clearly mark conformance checking-only aspects of the IDNA section
- Explain why valid domain needs to run ToUnicode HOT 3
- Hoist "forbidden domain code point" check into "domain to ASCII" HOT 4
- Encourage denoting character-attributable errors by the REPLACEMENT CHARACTER
- CheckHyphens isn't set to beStrict
- Initialize the IgnoreInvalidPunycode flag when calling UTS 46 HOT 3
- Punycode behavior for labels exceeding DNS length is ill-defined HOT 8
- deprecated `punycode` HOT 1
- Proposal: URL.setSearchParams() HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from url.