Professional Documents
Culture Documents
<scheme>://<authority><path>?<query>
Scheme
Authority
Path
Query
http://www.ietf.org/rfc/rfc2396.txt
http://www.ietf.org/rfc/rfc1034.txt
http://www.ietf.org/rfc/rfc1738.txt
Page 1
Sheet1
http://www.w3.org/2002/11/dbooth-names/rfc2396-numbered_clean.htm
http://list.opera.com/pipermail/opera-users/2002-September/013956.html
source http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2.1
source http://www.101domain.com/domain_help_faq_19.htm
http://support.rapidsystem.net/ntfaq/r80.html
http://www.hscripts.com/tutorials/web/domain-characters.php
<scheme>://<userinfo>@domainlabel1.topleveldomain/<path>?<query>
Page 2
Sheet1
1)The authority component is preceded by a double slash "//" and is terminated by the next slash "/", question-mark "?", or by
2)Within the authority component, the characters ";", ":", "@", "?", and "/" are reserved.
1) reg_name = 1*( unreserved | escaped | "$" | "," | ";" | ":" | "@" | "&" | "=" | "+" )
2)
1) It may consist of a user name and, optionally, scheme- specific information about how to gain authorization to access the s
2) The user information, if present, is followed by a commercial at-sign "@".
3) userinfo = *( unreserved | escaped | ";" | ":" | "&" | "=" | "+" | "$" | "," )
4) Some URL schemes use the format "user:password" in the userinfo field.
1) The domainlabel always starts and ends with alphanumeric character and possibly also containing “-” characters.
2) Labels cannot start nor end with a hyphen “-”.
3) There could be more than one domainlabel and each domainlabel is seperated by “.”
4) Each label must be between 1 and 63 characters long, and there is a maximum of 255 characters when all labels are comb
1) It is the last part of an Internet domain name; that is, the letters which follow the final dot of any domain name.
2) The country code top level domain is two letter long. (e.g. “.us”, “.in”)
3) The geographic top level domain is three or more letters long. (e.g. “.com”, “.gov”, “.info”, “.museum”)
1) The path may consist of a sequence of path segments separated by a single slash "/" character.
2) The path component contains data, specific to the authority (or the scheme if there is no authority component), identifying t
3) The path section in the URL shows the path from node to the root of the tree.
4) Within a path segment, the characters "/", ";", "=", and "?" are reserved.
1) The query string is the part of a URL that contains data to be passed to web applications.
2) The query string is composed of a series of field-value pairs.
3) The field-value pairs are each separated by an equal sign.
4) The series of pairs is separated by the ampersand, '&'.
5) e.g. http://en.wikipedia.org/w/index.php?title=Main_page&action=raw
6) http://server/path/program?query_string
Page 3
Sheet1
_help_faq_20.htm./domain_help_faq_20.htm./help-faq.htm./help-faq.htm
ers and a hyphen "-". Hyphens may be anywhere in the middle of a name, but can not be located at the end or begin
omain/<path>?<query>
Page 4
Sheet1
http://en.wikipedia.org/wiki/Top-level_domain_name
Page 5
Sheet1
eginning of a name. A valid domain name does not have spaces. A domain name can be up to 67 characters long --
Page 6
Sheet1
Page 7
Sheet1
n be up to 67 characters long -- including the 4 characters used to identify the Top Level Domain (.com, net, .org). Do
Page 8
Sheet1
Page 9
Sheet1
vel Domain (.com, net, .org). Do not type the www. or your ext. before your domain name when registering as it is au
Page 10
Sheet1
Page 11
Sheet1
Page 12
Escape Codes
Page 13
Escape Codes
ember.com/html/spec/esccodes.html
Page 14
http Test Cases
NOTE: 1) Within a path segment, the characters "/", ";", "=", and "?" are
1) The path may consist of a sequence of path segments separated by a single slash "/" character.
Page 15
http Test Cases
2) The path component contains data, specific to the authority (or the scheme if there is no authority component), identifying t
3) The path section in the URL shows the path from node to the root of the tree.
4) Try to create a path by inserting more than one slash in between the path segments
Page 16
http Test Cases
Ex : http
or hyphen(-) are allowed in the scheme
ssues,it will work)
ntended page
s to the intended page
fo”, “.museum”)
Page 17
http Test Cases
no authority component), identifying the resource within the scope of that scheme and authority.
Page 18