From 679b5b266c27ff63e50ee9780a4b7462874b3a2f Mon Sep 17 00:00:00 2001 From: Nitin Goyal Date: Fri, 22 Jan 2021 08:45:42 +0530 Subject: [PATCH] Update filter.cc Signed-off-by: Nitin Goyal --- source/extensions/filters/http/oauth2/filter.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/extensions/filters/http/oauth2/filter.cc b/source/extensions/filters/http/oauth2/filter.cc index 8b9750427b5e6..892ab8a9abcd8 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())) {