From 51c8db8756ffb2fae1ebc2b39cd635420844af8d Mon Sep 17 00:00:00 2001 From: Liny Date: Sat, 7 Jul 2012 14:02:55 -0700 Subject: [PATCH] FIRE-6898 - Explicitly ignore data URI's --- indra/newview/fsslurl.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/indra/newview/fsslurl.cpp b/indra/newview/fsslurl.cpp index dfeea0f9b2..f0f0213547 100644 --- a/indra/newview/fsslurl.cpp +++ b/indra/newview/fsslurl.cpp @@ -100,6 +100,12 @@ LLSLURL::LLSLURL(const std::string& slurl) { fixed_slurl += slurl.substr(1); } + // FIRE-6898 - Explicitly ignore data URI's + else if(slurl.substr(0,4) == "data") + { + fixed_slurl = slurl; + } + // else { fixed_slurl += slurl;