diff --git a/src/aws-cpp-sdk-core/source/http/URI.cpp b/src/aws-cpp-sdk-core/source/http/URI.cpp index daf5554b7a4..b7cfb33f7af 100644 --- a/src/aws-cpp-sdk-core/source/http/URI.cpp +++ b/src/aws-cpp-sdk-core/source/http/URI.cpp @@ -254,6 +254,7 @@ Aws::String URI::GetURLEncodedPathRFC3986() const void URI::SetPath(const Aws::String& value) { m_pathSegments.clear(); + m_pathHasTrailingSlash = false; AddPathSegments(value); }