diff options
author | Dave Parks <davep@lindenlab.com> | 2012-11-08 14:23:34 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-11-08 14:23:34 -0600 |
commit | ccad8c9411977287f1c42b288bf796308de81094 (patch) | |
tree | d114771df8469e4c9df6a9ecdd22edcbba7f24a0 /indra/newview/llfloaterurlentry.cpp | |
parent | c431ddf629b7f1149c44b2063d216dd34bcd2b12 (diff) | |
parent | 2126cdb9a25da4dcc4c81659038b85bcff17c4ee (diff) |
Automated merge with http://bitbucket.org/lindenlab/viewer-lion
Diffstat (limited to 'indra/newview/llfloaterurlentry.cpp')
-rw-r--r-- | indra/newview/llfloaterurlentry.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloaterurlentry.cpp b/indra/newview/llfloaterurlentry.cpp index 151cd2a1cd..e85d849c9a 100644 --- a/indra/newview/llfloaterurlentry.cpp +++ b/indra/newview/llfloaterurlentry.cpp @@ -219,7 +219,8 @@ void LLFloaterURLEntry::onBtnOK( void* userdata ) } // Discover the MIME type only for "http" scheme. - if(scheme == "http" || scheme == "https") + if(!media_url.empty() && + (scheme == "http" || scheme == "https")) { LLHTTPClient::getHeaderOnly( media_url, new LLMediaTypeResponder(self->getHandle())); |