summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermedia.cpp
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-02-19 11:12:38 +0200
committerMike Antipov <mantipov@productengine.com>2010-02-19 11:12:38 +0200
commit3fb3b9cf217dce42991b288f5caf0266932bef94 (patch)
treee5a0bb8b7deb4602ab45d8a49793658aeaed3677 /indra/newview/llviewermedia.cpp
parentc4a3bee33562f607bbd56a420bfcb424e00f2f41 (diff)
parente1c8cd395e8238958a5d2cfdaadaca4046e00811 (diff)
Merge from default branch
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llviewermedia.cpp')
-rw-r--r--indra/newview/llviewermedia.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp
index 642f672faf..395467dffb 100644
--- a/indra/newview/llviewermedia.cpp
+++ b/indra/newview/llviewermedia.cpp
@@ -1318,6 +1318,9 @@ void LLViewerMediaImpl::loadURI()
{
if(mMediaSource)
{
+ // trim whitespace from front and back of URL - fixes EXT-5363
+ LLStringUtil::trim( mMediaURL );
+
// *HACK: we don't know if the URI coming in is properly escaped
// (the contract doesn't specify whether it is escaped or not.
// but LLQtWebKit expects it to be, so we do our best to encode