File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/include/grpc_transcoding Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,8 @@ class PathMatcherBuilder {
151151 std::unordered_set<std::string> custom_verbs_;
152152 typedef typename PathMatcher<Method>::MethodData MethodData;
153153 std::vector<std::unique_ptr<MethodData>> methods_;
154- UrlUnescapeSpec unescape_spec_;
154+ UrlUnescapeSpec unescape_spec_ =
155+ UrlUnescapeSpec::kAllCharactersExceptReserved ;
155156
156157 friend class PathMatcher <Method>;
157158};
@@ -496,8 +497,7 @@ Method PathMatcher<Method>::Lookup(const std::string& http_method,
496497// Initializes the builder with a root Path Segment
497498template <class Method >
498499PathMatcherBuilder<Method>::PathMatcherBuilder()
499- : root_ptr_(new PathMatcherNode()),
500- unescape_spec_ (UrlUnescapeSpec::kAllCharactersExceptReserved ) {}
500+ : root_ptr_(new PathMatcherNode()) {}
501501
502502template <class Method >
503503PathMatcherPtr<Method> PathMatcherBuilder<Method>::Build() {
You can’t perform that action at this time.
0 commit comments