Summary

  • In 1975 RFC 691 proposed reserving an initial "X" for FTP parameters that were "really local idiosyncracies". RFC 1521 turned that into a grammar class, and RFC 1590 required proposed media types to carry the x- notation until IANA registered them.
  • RFC 6648 deprecated the convention in June 2012 and forbade implementations to read status from it. RFC 6838 then let widely deployed x- names be registered as spelled, and IANA registered application/x-www-form-urlencoded on 14 May 2014 with WHATWG as author and change controller.

Brian Harvey of the Stanford AI Lab wanted FTP servers to know whether a file was meant to be printed. His 1975 note proposed two parameters and added the part that outlived everything else in it: parameters "should be registered with Jon Postel to avoid conflicts", and "an initial letter X be used for really local idiosyncracies".

The X marked somebody's private business — a filing convenience for a filing clerk, not a vow about quality. The convention spread anyway. RFC 6648 later quoted the FTP specification RFC 1123 admitting the awkward consequence: if an experimental command ever became a standard, implementations might still use the X form, so servers should accept both spellings. The status could change. The string already in the code did not.

MIME turned a habit into a grammar

RFC 1521 made the habit into syntax. A media type could use an extension-token, which was either an iana-token — publicly defined, registered with IANA — or an x-token: the characters "X-" or "x-" followed by any token. Implementors who needed a new Content-Transfer-Encoding were told to invent one.

That is the decision this history pays for. Before 1993 the prefix was a convention anyone could ignore. After it, the difference between registered and unregistered sat inside the parse tree, so a program could read a name's status off the name — provided everyone wrote the label honestly and nobody ever needed to change it.

The waiting room becomes a required field

Jon Postel's RFC 1590, March 1994, made the prefix procedure. A proposed media type was posted to a mailing list for comment and, while it sat there, "must use the 'x-' notation for the subtype name". Two weeks later it went to IANA, which registered it and listed it in Assigned Numbers.

The rest of the memo deflates any idea that registration conferred quality. A public specification was not required; naming "a particular software package and version" was enough. Registration was "not a formal standards process" and implied no endorsement, approval or recommendation "by IANA or IETF or even certification that the specification is adequate". The registry reserved names and kept the list. The x- rule was the one place where the paperwork also asked to be believed.

The Web typed the draft name into a permanent field

November 1995. RFC 1866, HTML 2.0, spent one paragraph choosing the default encoding for forms: "The default encoding for all forms is application/x-www-form-urlencoded." Spaces became plus signs, other reserved characters percent escapes, line breaks %0D%0A, and fields were listed in document order separated by ampersands.

Nobody had to choose that string. It arrived with the FORM element, and every browser and server that followed the spec agreed on it. Seventeen years later the convention that produced it would be called harmful. Thirty-one years later the name is still there.

The bodies maintaining it today are not sentimental. The WHATWG HTML standard still lists application/x-www-form-urlencoded among the enctype keyword values. The WHATWG URL Standard introduces its parser like this: "The application/x-www-form-urlencoded format is in many ways an aberrant monstrosity, the result of many years of implementation accidents and compromises leading to a set of requirements necessary for interoperability, but in no way representing good design practices." It adds: "Unfortunately the format is in widespread use due to the prevalence of HTML forms."

The registry builds side roads and asks the prefix to leave

RFC 2048, November 1996, replaced the single queue with registration trees. The IETF tree needed IESG approval and an RFC. The vendor tree took a vnd. facet and went straight to IANA, with public review only "strongly encouraged"; the personal tree did the same with prs.. An outsider no longer had to borrow the prefix to get a name — it could take a subtree.

Then the memo drained the prefix of purpose. Its section on the special x. tree calls those names "unregistered, experimental, and ... used only with the active agreement of the parties exchanging them", and concludes that with the new shortcuts "it should rarely, if ever, be necessary to use unregistered experimental types, and as such use of both 'x-' and 'x.' forms is discouraged." That is 1996, sixteen years before the formal deprecation. RFC 4288 kept the section in 2005.

RFC 6648, June 2012, said the quiet part: the convention "causes more problems than it solves", because of "the leakage of unstandardized parameters into the standards space". The fix was not a rename. Implementations "MUST NOT make any assumptions about the status of a parameter ... based solely on the presence or absence of 'X-'"; creators "SHOULD NOT prefix their parameter names with 'X-'"; designers "SHOULD NOT prohibit parameters with an 'X-' prefix ... from being registered" and must not claim that an X- name is unstandardized or a plain name standardized. IANA considerations close the loop: the document "does not modify registration procedures currently in force".

The prefix survived its own funeral as an ordinary string. That is the point rather than a loophole: once a name carries no status, there is nothing left to enforce and nothing left to break.

2013: the paperwork catches up

RFC 6838, January 2013, redrew the boundary in the direction the strings had already gone. Names beginning "x-" are "no longer considered to be members of this tree"; they are just unfaceted names now. A generally useful, widely deployed type that has "incorrectly" ended up with an "x-" prefix may be registered "using its current name", subject to approval by the media types reviewer and the IESG. The change log says it plainly: widely deployed types with "x-" names can now be registered.

2014: the registry signs for the spelling

The IANA record for application/x-www-form-urlencoded gives a registration date of 14 May 2014, a published specification of the WHATWG URL Standard, an author and change controller of WHATWG, a contact of Anne van Kesteren, and an intended usage of "Common" — "the default web form submission format and therefore in widespread usage".

Eighteen years separate that registration from the HTML 2.0 paragraph that made the name universal. In those eighteen years the format needed no registry entry to work, and the registry did not rename the format to suit itself. The record followed the bytes.

Three answers, no rule

Current IANA files show how small the prefix's estate has become. The application tree holds 1,830 name rows: 1,205 begin vnd., 21 begin prs., five begin x-. The image tree holds 89 rows and two x- names; the multipart tree holds 17 rows and one. Eight registered names in those three trees begin with x-, and the three devices used to handle them do not agree.

  • The deployed spelling becomes the name. application/x-www-form-urlencoded has no proper-looking twin and no deprecated alias.
  • A proper name is registered and the old spelling demoted. RFC 7903 registered image/wmf and image/emf, noted that "the previously unregistered type image/x-wmf is also in wide use", and listed "Deprecated alias names for this type: image/x-wmf".
  • The old spelling is recorded as a grandfather. RFC 8894 put four x- names into the registry in 2020 and described one as "a grandfathered registration of an alias to application/pkix-cert".

A registry can absorb a bad name three ways. It cannot decide in general which way is right, because the answer depends on how many parsers already match the string.

The record stopped ranking names and started recording them

The 1975 idea assumed a reader: someone would see the label, remember the rule and know that X meant private business. The scheme worked while the label had to be interpreted, and stopped working the moment a program had to match it byte for byte — which is what every form on the web does, every second.

The registry's remaining authority over these names has one shape: it writes down what is deployed and says who will answer for it. The cost of a rename lands on operators, who must edit stored logs, database columns, test fixtures and firewalls. The benefit lands on the record. Operators keep the string.