-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
In the README.adoc file lines 236-246 the example shows a bunch of assert statements.
url_view u( "https://user:pass@example.com:443/path/to/my%2dfile.txt?id=42&name=John%20Doe+Jingleheimer%2DSchmidt#page%20anchor" );
...
assert(u.query() == "id=42&name=John Doe Jingleheimer-Schmidt");The assert statement for the u.query() seems to be slightly wrong because it suggests that the expected result would encode + signs as spaces but the default output of your library seems to be coherent with RFC 3986 which does not specify such functionality.
So, if I understand it correctly the assert statement should be:
assert(u.query() == "id=42&name=John Doe+Jingleheimer-Schmidt");I have tested this using BOOST_LIB_VERSION == "1_83"
PS..
Apologies, if I've just misunderstood something! :)
Metadata
Metadata
Assignees
Labels
No labels