Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0d00b3f

Browse files
author
ky
committed
fix minus handling in query string grammar
1 parentb1555de commit0d00b3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎include/network/uri/accessors.hpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ struct key_value_sequence
3232
{
3333
query = pair >> *((boost::spirit::qi::lit(';') |'&') >> pair);
3434
pair = key >> -('=' >> value);
35-
key =spirit::qi::char_("a-zA-Z_") >> *spirit::qi::char_("a-zA-Z_0-9/%\\-_~\\.");
36-
value = *spirit::qi::char_("a-zA-Z_0-9/%\\-_~\\.+");
35+
key =spirit::qi::char_("a-zA-Z_") >> *spirit::qi::char_("-+.~a-zA-Z_0-9/%");
36+
value = *spirit::qi::char_("-+.~a-zA-Z_0-9/%");
3737
}
3838

3939
boost::spirit::qi::rule<uri::const_iterator, Map()> query;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp