<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic JS and HTML files in File Manager in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/JS-and-HTML-files-in-File-Manager/m-p/362597#M18148</link>
    <description>&lt;P&gt;The &lt;CODE&gt;contentType&lt;/CODE&gt; header for JavaScript and HTML served from the default HubSpot File Manager CDN is changing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;What's happening?&lt;/H2&gt;
&lt;P&gt;We are changing the &lt;CODE&gt;contentType&lt;/CODE&gt; used for JavaScript and HTML files served from HubSpot CDN domain in the File Manager. The &lt;CODE&gt;contentType&lt;/CODE&gt; is changing to &lt;CODE&gt;text/plain&lt;/CODE&gt;. This means when the browser goes to these URLs it will not render the HTML or process the javascript, it will display its code. This does not apply to File Manager files served through a connected domain name.&lt;/P&gt;
&lt;P&gt;Files uploaded prior to this change will be unaffected to prevent breaking existing websites.&lt;/P&gt;
&lt;P&gt;If you have an automation or business workflow that results in the upload of those types of files be aware you need to serve them through a connected domain.&lt;/P&gt;
&lt;H2&gt;Why is it happening?&lt;/H2&gt;
&lt;P&gt;This is a proactive security improvement to prevent illegitimate use of the File Manager that violates our terms of service.&lt;/P&gt;
&lt;H2&gt;When is it happening?&lt;/H2&gt;
&lt;P&gt;This change has already occurred.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Why the short notice?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The change does not break existing uploads. It is a preventative measure to improve the security of the HubSpot platform. We take steps every day to improve security and performance. This change we felt you should know about as there are some accounts storing these files in the File Manager.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Questions comments?&lt;/STRONG&gt; let's talk about it in the developer forums.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Aug 2020 19:15:08 GMT</pubDate>
    <dc:creator>jmclaren</dc:creator>
    <dc:date>2020-08-17T19:15:08Z</dc:date>
  </channel>
</rss>

