diff options
author | uzhas <uzhas@ydb.tech> | 2022-09-14 18:08:53 +0300 |
---|---|---|
committer | uzhas <uzhas@ydb.tech> | 2022-09-14 18:08:53 +0300 |
commit | ddc838ba63c11814b414c13f16dad112624f6923 (patch) | |
tree | 07b328c78df6cd104889be33bcb7a56a40e75af0 /library/cpp/monlib/service/pages | |
parent | 43f2a855553ca09945ed0688b33c997ae6e905e4 (diff) | |
download | ydb-ddc838ba63c11814b414c13f16dad112624f6923.tar.gz |
do not crash on invalid url
Diffstat (limited to 'library/cpp/monlib/service/pages')
-rw-r--r-- | library/cpp/monlib/service/pages/index_mon_page.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/cpp/monlib/service/pages/index_mon_page.cpp b/library/cpp/monlib/service/pages/index_mon_page.cpp index de2a5a058c..f5c334cb83 100644 --- a/library/cpp/monlib/service/pages/index_mon_page.cpp +++ b/library/cpp/monlib/service/pages/index_mon_page.cpp @@ -97,7 +97,6 @@ TIndexMonPage* TIndexMonPage::RegisterIndexPage(const TString& path, const TStri IMonPage* TIndexMonPage::FindPage(const TString& relativePath) { TGuard<TMutex> g(Mtx); - Y_VERIFY(!relativePath.StartsWith('/')); TPagesByPath::iterator i = PagesByPath.find("/" + relativePath); if (i == PagesByPath.end()) { return nullptr; |