MAINT-7051 Release Notes url shouldn't include the EDU parameter
parent
a71ddeafc2
commit
3c249e5d5f
|
|
@ -3312,7 +3312,12 @@ LLSD LLAppViewer::getViewerInfo() const
|
|||
std::string url = LLTrans::getString("RELEASE_NOTES_BASE_URL");
|
||||
if (! LLStringUtil::endsWith(url, "/"))
|
||||
url += "/";
|
||||
url += LLURI::escape(LLVersionInfo::getChannel()) + "/";
|
||||
std::string channel = LLVersionInfo::getChannel();
|
||||
if (LLStringUtil::endsWith(boost::to_lower_copy(channel), " edu")) // Release Notes url shouldn't include the EDU parameter
|
||||
{
|
||||
boost::erase_tail(channel, 4);
|
||||
}
|
||||
url += LLURI::escape(channel) + "/";
|
||||
url += LLURI::escape(LLVersionInfo::getVersion());
|
||||
|
||||
info["VIEWER_RELEASE_NOTES_URL"] = url;
|
||||
|
|
|
|||
Loading…
Reference in New Issue