aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/service/pages
diff options
context:
space:
mode:
authoruzhas <uzhas@ydb.tech>2022-09-14 18:08:53 +0300
committeruzhas <uzhas@ydb.tech>2022-09-14 18:08:53 +0300
commitddc838ba63c11814b414c13f16dad112624f6923 (patch)
tree07b328c78df6cd104889be33bcb7a56a40e75af0 /library/cpp/monlib/service/pages
parent43f2a855553ca09945ed0688b33c997ae6e905e4 (diff)
downloadydb-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.cpp1
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;