mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-17 03:55:59 +01:00
added comment regarding query strings (#767)
This commit is contained in:
parent
32956fe044
commit
2603c7a0d4
@ -42,8 +42,15 @@ class Foundation_API URI
|
||||
/// The class automatically performs a few normalizations on
|
||||
/// all URIs and URI parts passed to it:
|
||||
/// * scheme identifiers are converted to lower case
|
||||
/// * percent-encoded characters are decoded
|
||||
/// * percent-encoded characters are decoded (except for the query string)
|
||||
/// * optionally, dot segments are removed from paths (see normalize())
|
||||
///
|
||||
/// Note that dealing with query strings requires some precautions, as, internally,
|
||||
/// query strings are stored in percent-encoded form, while all other parts of the URI
|
||||
/// are stored in decoded form. While parsing query strings from properly encoded URLs
|
||||
/// generally works, explicitly setting query strings with setQuery() or extracting
|
||||
/// query strings with getQuery() may lead to ambiguities. See the descriptions of
|
||||
/// setQuery(), setRawQuery(), getQuery() and getRawQuery() for more information.
|
||||
{
|
||||
public:
|
||||
typedef std::vector<std::pair<std::string, std::string> > QueryParameters;
|
||||
|
Loading…
Reference in New Issue
Block a user