diff options
author | vlad-kolotvin <vlad-kolotvin@yandex-team.ru> | 2022-02-10 16:48:20 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:20 +0300 |
commit | 9ff71a8b1ce582cb08730cb11eb25839441317d1 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/string_utils/url/url.cpp | |
parent | d26952c54d3ee92bbdc1888b64f3dec893e5a383 (diff) | |
download | ydb-9ff71a8b1ce582cb08730cb11eb25839441317d1.tar.gz |
Restoring authorship annotation for <vlad-kolotvin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/string_utils/url/url.cpp')
-rw-r--r-- | library/cpp/string_utils/url/url.cpp | 2 |
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 107dea6a45..85f4ac5d69 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; |