aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/string_utils/url/url.cpp
diff options
context:
space:
mode:
authorvlad-kolotvin <vlad-kolotvin@yandex-team.ru>2022-02-10 16:48:20 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:20 +0300
commitd26952c54d3ee92bbdc1888b64f3dec893e5a383 (patch)
tree72e5a06ef50a8d3041aaa60f5d7c287025cf657d /library/cpp/string_utils/url/url.cpp
parent805923d9caf5cf5b7fd5f4aa268f783503260d62 (diff)
downloadydb-d26952c54d3ee92bbdc1888b64f3dec893e5a383.tar.gz
Restoring authorship annotation for <vlad-kolotvin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/string_utils/url/url.cpp')
-rw-r--r--library/cpp/string_utils/url/url.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/string_utils/url/url.cpp b/library/cpp/string_utils/url/url.cpp
index 85f4ac5d69..107dea6a45 100644
--- a/library/cpp/string_utils/url/url.cpp
+++ b/library/cpp/string_utils/url/url.cpp
@@ -214,7 +214,7 @@ bool TryGetSchemeHostAndPort(const TStringBuf url, TStringBuf& scheme, TStringBu
TStringBuf portStr;
TStringBuf hostAndPort = GetHostAndPort(url.Tail(schemeSize));
- if (hostAndPort && hostAndPort.back() != ']' && hostAndPort.TryRSplit(':', host, portStr)) {
+ if (hostAndPort && hostAndPort.back() != ']' && hostAndPort.TryRSplit(':', host, portStr)) {
// URL has port
if (!TryFromString(portStr, port)) {
return false;