diff options
author | Martin Reddy <lynx@lindenlab.com> | 2009-10-01 09:52:05 +0000 |
---|---|---|
committer | Martin Reddy <lynx@lindenlab.com> | 2009-10-01 09:52:05 +0000 |
commit | a0a5c8e615869d449bfad94ec9a650aad82cab91 (patch) | |
tree | 74049b6ad5eadb2ed228bb72a585b34486d26dcc /indra/newview/llnavigationbar.cpp | |
parent | cf9239cabcf7999a2d2393bd4bdb6fc08e27c09c (diff) |
EXT-1251: strip leading/trailing whitespace from user input in the
navigation bar when trying to access if the input is a valid SLURL.
Diffstat (limited to 'indra/newview/llnavigationbar.cpp')
-rw-r--r-- | indra/newview/llnavigationbar.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llnavigationbar.cpp b/indra/newview/llnavigationbar.cpp index b1db51dd26..19fee20740 100644 --- a/indra/newview/llnavigationbar.cpp +++ b/indra/newview/llnavigationbar.cpp @@ -317,6 +317,7 @@ void LLNavigationBar::onTeleportHistoryMenuItemClicked(const LLSD& userdata) void LLNavigationBar::onLocationSelection() { std::string typed_location = mCmbLocation->getSimple(); + LLStringUtil::trim(typed_location); // Will not teleport to empty location. if (typed_location.empty()) |