You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current state of URLs and URIs cannot be described as anything less than a horrible mess, a security nightmare [*] and an infected area that lots of persons will not go near due to the past experiences and personal conflicts.
What URI (RFC3986) defines is a standard naming format that uses
hierarchical name delegation to cover the entire Internet with identifiers.
The WHATWG url spec defines a set of rules for interpreting references
and placing them in a url data structure within browser memory. url != URL.
href != URL. The spec says that this is somehow replacing URI, but it isn't
even defining the same thing.
As of now, the application/x-www-form-urlencoded media type registration references the WHATWG url spec.
I think that in OAuth we should:
consistently refer to IETF URL specifications;
avoid interchangeably use URI and URL when pointing to a dereferenceable location (e.g. a server URL);
only refer to WHATWG spec to reference the x-www-form-urlencoded specification.
This should minimize the security risks @bagder highlights in his post
and provide a consistent language for implementers.
Since I am not a veteran of the HTTP wg, I suggest asking for a preliminary review of this spec to the HTTP chairs: I think it will really improve the security profile of this great work.
There are still some references to old URI specs like RFC3986, which have since been replaced by various IETF specs as well as the WHATWG URL spec.
The text was updated successfully, but these errors were encountered: