Browse Source

fix / to ,

guodongxiaren 2 years ago
parent
commit
fedc1457b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/brpc/uri.cpp

+ 1 - 1
src/brpc/uri.cpp

@@ -110,7 +110,7 @@ inline const char* SplitHostAndPort(const char* host_begin,
 static bool is_valid_char(const char* p) {
     static const std::unordered_set<char> other_valid_char = {
         ':', '/', '?', '#', '[', ']', '@', '!', '$', '&',
-        '\'', '(', ')'/ '*', '+', ',', ';', '='/ '-', '.',
+        '\'', '(', ')', '*', '+', ',', ';', '=', '-', '.',
         '_', '~', '%', ' '
     };