Skip to content

Commit

Permalink
Fix urlFile missing last character
Browse files Browse the repository at this point in the history
  • Loading branch information
matthuisman committed Aug 18, 2022
1 parent e455a2f commit 4ea7657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iptvsimple/data/Channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ void Channel::SetIconPathFromTvgLogo(const std::string& tvgLogo, std::string& ch
if (argumentsPos != std::string::npos && argumentsPos > 0)
{
urlArguments = urlFile.substr(argumentsPos);
urlFile = urlFile.substr(0, argumentsPos - 1);
urlFile = urlFile.substr(0, argumentsPos);
}

if (!utilities::WebUtils::IsEncoded(urlFile))
Expand Down

0 comments on commit 4ea7657

Please sign in to comment.