Kaydet (Commit) a027a1bb authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Don't set Referer when accessing embedded media

Change-Id: I9a1709eb0d5bb81c6c90c4b9f90ff7bed74cda67
üst 9ee4c3e9
......@@ -374,7 +374,7 @@ void SdrMediaObj::mediaPropertiesChanged( const ::avmedia::MediaItem& rNewProper
if (bSuccess)
{
m_pImpl->m_pTempFile.reset(new MediaTempFile(tempFileURL));
m_pImpl->m_MediaProperties.setURL(url, tempFileURL, rNewProperties.getReferer());
m_pImpl->m_MediaProperties.setURL(url, tempFileURL, "");
}
else // this case is for Clone via operator=
{
......@@ -385,7 +385,7 @@ void SdrMediaObj::mediaPropertiesChanged( const ::avmedia::MediaItem& rNewProper
else
{
m_pImpl->m_MediaProperties.setURL(url,
rNewProperties.getTempURL(), rNewProperties.getReferer());
rNewProperties.getTempURL(), "");
}
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment