diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp index 8237555ca..9172c2564 100644 --- a/indra/newview/llpanelprofile.cpp +++ b/indra/newview/llpanelprofile.cpp @@ -96,7 +96,9 @@ public: return false; } - const std::string verb = params[1].asString(); + std::string verb = params[1].asString(); + while (!verb.empty() && std::ispunct(verb.back())) + verb.pop_back(); if (verb == "about") { LLAvatarActions::showProfile(avatar_id);