aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/cgiparam/cgiparam.cpp
diff options
context:
space:
mode:
authordobrokot <dobrokot@yandex-team.ru>2022-02-10 16:49:07 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:07 +0300
commit25d83bf841d8b3ce3886525078f1964ac3c293c5 (patch)
treebd52fa16c8dd727890b2ef9d87d1a402bd0d3a9a /library/cpp/cgiparam/cgiparam.cpp
parent1d2e8a8e9976488ea69a7e4763aa749244f82612 (diff)
downloadydb-25d83bf841d8b3ce3886525078f1964ac3c293c5.tar.gz
Restoring authorship annotation for <dobrokot@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/cgiparam/cgiparam.cpp')
-rw-r--r--library/cpp/cgiparam/cgiparam.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/cgiparam/cgiparam.cpp b/library/cpp/cgiparam/cgiparam.cpp
index f3277b8e4b..bdd012d6d3 100644
--- a/library/cpp/cgiparam/cgiparam.cpp
+++ b/library/cpp/cgiparam/cgiparam.cpp
@@ -90,7 +90,7 @@ static inline TString DoUnescape(const TStringBuf s) {
}
void TCgiParameters::InsertEscaped(const TStringBuf name, const TStringBuf value) {
- InsertUnescaped(DoUnescape(name), DoUnescape(value));
+ InsertUnescaped(DoUnescape(name), DoUnescape(value));
}
template <bool addAll, class F>
@@ -102,17 +102,17 @@ struct TAddEscaped {
TCgiParameters* C;
inline void operator()(const TStringBuf key, const TStringBuf val) {
- C->InsertEscaped(key, val);
+ C->InsertEscaped(key, val);
}
};
void TCgiParameters::Scan(const TStringBuf query, bool form) {
Flush();
- form ? ScanAdd(query) : ScanAddAll(query);
+ form ? ScanAdd(query) : ScanAddAll(query);
}
void TCgiParameters::ScanAdd(const TStringBuf query) {
- TAddEscaped f = {this};
+ TAddEscaped f = {this};
DoScan<false>(query, f);
}
@@ -134,7 +134,7 @@ void TCgiParameters::ScanAddAllUnescaped(const TStringBuf query) {
}
void TCgiParameters::ScanAddAll(const TStringBuf query) {
- TAddEscaped f = {this};
+ TAddEscaped f = {this};
DoScan<true>(query, f);
}