Update wxURI for RFC 3986
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -15,8 +15,7 @@ wxURI is used to extract information from
|
|||||||
a URI (Uniform Resource Identifier).
|
a URI (Uniform Resource Identifier).
|
||||||
|
|
||||||
For information about URIs, see
|
For information about URIs, see
|
||||||
\urlref{RFC 2396}{http://www.ietf.org/rfc/rfc2396.txt} or
|
\urlref{RFC 3986}{http://www.ietf.org/rfc/rfc3986.txt}.
|
||||||
\urlref{RFC 2396.bis (Updated draft of RFC 2396)}{http://www.gbiv.com/protocols/uri/rev-2002/rfc2396bis.html}.
|
|
||||||
|
|
||||||
In short, a URL \em{is} a URI. In other
|
In short, a URL \em{is} a URI. In other
|
||||||
words, URL is a subset of a URI - all
|
words, URL is a subset of a URI - all
|
||||||
|
@@ -49,9 +49,7 @@ enum wxURIFlags
|
|||||||
|
|
||||||
// Generic class for parsing URIs.
|
// Generic class for parsing URIs.
|
||||||
//
|
//
|
||||||
// Originally based off of RFC 2396 - then
|
// See RFC 3986
|
||||||
// extended to meet the newer RFC 2396.bis
|
|
||||||
// specifications.
|
|
||||||
class WXDLLIMPEXP_BASE wxURI : public wxObject
|
class WXDLLIMPEXP_BASE wxURI : public wxObject
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@@ -375,7 +375,7 @@ bool wxURI::IsReference() const
|
|||||||
// Master URI parsing method. Just calls the individual parsing methods
|
// Master URI parsing method. Just calls the individual parsing methods
|
||||||
//
|
//
|
||||||
// URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
|
// URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
|
||||||
// URI-reference = URI / relative-URITestCase
|
// URI-reference = URI / relative
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
const wxChar* wxURI::Parse(const wxChar* uri)
|
const wxChar* wxURI::Parse(const wxChar* uri)
|
||||||
|
Reference in New Issue
Block a user