We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cf2ddd commit b45be23Copy full SHA for b45be23
boost/network/uri/http/detail/parse_specific.hpp
@@ -100,13 +100,10 @@ namespace boost { namespace network { namespace uri {
100
start_, end_,
101
(
102
qi::lit("//")
103
- >> -qi::lexeme[
104
- *((qi::alnum | qi::punct) - '@')
105
- >> '@'
106
- ]
+ >> -qi::lexeme[qi::raw[*(unreserved | pct_encoded | sub_delims | qi::char_(":"))] >> '@']
107
>> hostname
108
>> -qi::lexeme[':' >> qi::ushort_]
109
- >> qi::lexeme[qi::raw[*(qi::char_("/") > *pchar)]]
+ >> -qi::lexeme['/' >> qi::raw[*pchar > *('/' >> *pchar)]]
110
>> -qi::lexeme['?' >> qi::raw[*(pchar | qi::char_("/?"))]]
111
>> -qi::lexeme['#' >> qi::raw[*(pchar | qi::char_("/?"))]]
112
),
0 commit comments