Last modified: 2012-12-14 14:58:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42027, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40027 - External links violate RFC 3986 specifications.
External links violate RFC 3986 specifications.
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.20.x
All All
: Low trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.ietf.org/rfc/rfc3986.txt
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-05 23:13 UTC by Tyler Romeo
Modified: 2012-12-14 14:58 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tyler Romeo 2012-09-05 23:13:12 UTC
RFC 3986 (the specification for URI syntax) says that while programs should accept URI schemes of various cases, they should only output schemes in their canonical, lowercase form. In other words, if a user enters [HtTP://test.com], it should be rendered on the page as [http://test.com] (lowercase http instead of the mixed case).
Comment 1 Dereckson 2012-09-06 19:50:12 UTC
Is your assertion based on the following RFC quote?

"Although schemes are case-insensitive, the canonical form is lowercase and documents that specify schemes must do so with lowercase letters."
Comment 2 Tyler Romeo 2012-09-06 20:40:33 UTC
(In reply to comment #1)
> Is your assertion based on the following RFC quote?
> 
> "Although schemes are case-insensitive, the canonical form is lowercase and
> documents that specify schemes must do so with lowercase letters."

Partially. It's more based on the sentence directly after that:

"An implementation should accept uppercase letters as equivalent to lowercase in scheme names (e.g., allow "HTTP" as well as "http") for the sake of robustness but should only produce lowercase scheme names for consistency."
Comment 3 Dereckson 2012-09-06 20:51:38 UTC
Does implementation refer to an HTML document?
Comment 4 Tyler Romeo 2012-09-06 21:17:02 UTC
(In reply to comment #3)
> Does implementation refer to an HTML document?

Not explicitly. The RFC's intention is to treat URIs as universal, thus whether it be in an HTML document, or in an email, or written on a piece of paper, etc., it's uniform. So it's referring to any implementation of URI handling, including HTML documents.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links