Fixed bug EXT-5290 (TP failed if try to teleport from 'Teleport completed from...' toast).
Reason: LLUrlEntrySLURL::getLocation() failed to parse maps.secondlife.com SLURLs (though worked fine for slurl.com ones). --HG-- branch : product-enginemaster
parent
cef352006c
commit
a301ad63c2
|
|
@ -287,7 +287,7 @@ std::string LLUrlEntrySLURL::getLabel(const std::string &url, const LLUrlLabelCa
|
|||
std::string LLUrlEntrySLURL::getLocation(const std::string &url) const
|
||||
{
|
||||
// return the part of the Url after slurl.com/secondlife/
|
||||
const std::string search_string = "secondlife";
|
||||
const std::string search_string = "/secondlife";
|
||||
size_t pos = url.find(search_string);
|
||||
if (pos == std::string::npos)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue