diff --git a/source/extensions/filters/http/oauth2/filter.cc b/source/extensions/filters/http/oauth2/filter.cc index 8b9750427b5e..892ab8a9abcd 100644 --- a/source/extensions/filters/http/oauth2/filter.cc +++ b/source/extensions/filters/http/oauth2/filter.cc @@ -110,9 +110,8 @@ FilterConfig::FilterConfig( redirect_matcher_(proto_config.redirect_path_matcher()), signout_path_(proto_config.signout_path()), secret_reader_(secret_reader), stats_(FilterConfig::generateStats(stats_prefix, scope)), - encoded_auth_scopes_( - Http::Utility::PercentEncoding::encode(absl::StrJoin( - authScopesList(proto_config.auth_scopes()), " "), ":/=&? ")), + encoded_auth_scopes_(Http::Utility::PercentEncoding::encode( + absl::StrJoin(authScopesList(proto_config.auth_scopes()), " "), ":/=&? ")), forward_bearer_token_(proto_config.forward_bearer_token()), pass_through_header_matchers_(headerMatchers(proto_config.pass_through_matcher())) { if (!cluster_manager.clusters().hasCluster(oauth_token_endpoint_.cluster())) {