hmacsha1をurlエンコードする箇所を変更

This commit is contained in:
keita
2021-02-17 14:04:22 +09:00
parent 8c5ec96695
commit 9d597fdcb7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ void Update::process(std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth,
{
std::vector<std::string> tmp;
for (const auto& [key, value] : oauthParam) {
tmp.push_back(key + "=" + value);
tmp.push_back(key + "=" + CocoaTweet::Util::urlEncode(value));
}
std::stringstream os;
std::copy(tmp.begin(), tmp.end(), std::ostream_iterator<std::string>(os, ","));