Remove unnecessary condition (#5210)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
parent
79022a36ec
commit
c6fecca8e7
@ -219,7 +219,7 @@ std::string Url::GetUrlWithoutQuery(bool relative) const
|
||||
{
|
||||
if (!relative)
|
||||
{
|
||||
if (m_encodedPath.empty() || m_encodedPath[0] != '/')
|
||||
if (m_encodedPath[0] != '/')
|
||||
{
|
||||
url += "/";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user