File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
src/aws-cpp-sdk-core/source/endpoint Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,8 @@ list(APPEND SDK_TEST_PROJECT_LIST "s3-encryption:tests/aws-cpp-sdk-s3-encryption
111111list (APPEND SDK_TEST_PROJECT_LIST "s3control:tests/aws-cpp-sdk-s3control-integration-tests" )
112112list (APPEND SDK_TEST_PROJECT_LIST "sns:tests/aws-cpp-sdk-sns-integration-tests" )
113113list (APPEND SDK_TEST_PROJECT_LIST "sqs:tests/aws-cpp-sdk-sqs-integration-tests" )
114+ list (APPEND SDK_TEST_PROJECT_LIST "sso:tests/aws-cpp-sdk-sso-integration-tests" )
115+ list (APPEND SDK_TEST_PROJECT_LIST "sts:tests/aws-cpp-sdk-sts-integration-tests" )
114116list (APPEND SDK_TEST_PROJECT_LIST "sqs:tests/aws-cpp-sdk-sqs-unit-tests" )
115117list (APPEND SDK_TEST_PROJECT_LIST "transfer:tests/aws-cpp-sdk-transfer-tests" )
116118list (APPEND SDK_TEST_PROJECT_LIST "text-to-speech:tests/aws-cpp-sdk-text-to-speech-tests,tests/aws-cpp-sdk-polly-sample" )
Original file line number Diff line number Diff line change @@ -99,6 +99,12 @@ namespace Endpoint
9999
100100 void BuiltInParameters::SetParameter (EndpointParameter param)
101101 {
102+ if (param.GetName () == " Region" && !param.GetStrValueNoCheck ().empty ()) {
103+ if (param.GetStrValueNoCheck ().find (' @' ) != Aws::String::npos || param.GetStrValueNoCheck ().find (' #' ) != Aws::String::npos) {
104+ AWS_LOGSTREAM_ERROR (ENDPOINT_BUILTIN_LOG_TAG, " Region contains invalid characters: " << param.GetStrValueNoCheck ());
105+ return ;
106+ }
107+ }
102108 const auto foundIt = std::find_if (m_params.begin (), m_params.end (),
103109 [param](const BuiltInParameters::EndpointParameter& item)
104110 {
Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ def main():
4444 "aws-cpp-sdk-dynamodb-integration-tests" ,
4545 "aws-cpp-sdk-sqs-integration-tests" ,
4646 "aws-cpp-sdk-sqs-unit-tests" ,
47+ "aws-cpp-sdk-sso-integration-tests" ,
48+ "aws-cpp-sdk-sts-integration-tests" ,
4749 "aws-cpp-sdk-s3-integration-tests" ,
4850 "aws-cpp-sdk-s3-unit-tests" ,
4951 "aws-cpp-sdk-s3-crt-integration-tests" ,
You can’t perform that action at this time.
0 commit comments