<?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 Re: Accept Hosted form angular.min.js.map 404 error in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-form-angular-min-js-map-404-error/m-p/64055#M38050</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/23551"&gt;@angie&lt;/a&gt;, my apologies for the delayed response. I had to pull off of that project for a while.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get the error in Safari on Mac.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interestingly, when I tested it in Firefox, I got a Content Security Policy error:&amp;nbsp;"The page's settings blocked the loading of a resource at self ("script-src"). Source: onfocusin attribute on DIV element." followed by the same status 404 error on the attempt to load &lt;A href="https://test.authorize.net/payment/scripts/lib/angular.min.js" target="_blank"&gt;https://test.authorize.net/payment/scripts/lib/angular.min.js&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since we don't have any inline JS or onfocusin attributes in our code, I researched and found that Angular can trigger CSP errors unless 'unsafe-inline' is allowed in the CSP&amp;nbsp;script src directive. (See&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/50774193/angular-6-content-security-policy-the-page-s-settings-blocked-the-loading-of-a" target="_blank"&gt;https://stackoverflow.com/questions/50774193/angular-6-content-security-policy-the-page-s-settings-blocked-the-loading-of-a&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I&amp;nbsp;allowed unsafe-inline in the script src CSP directive, both errors went away in Firefox, however Safari still gives the same 404 error on angular.min.js (though no CSP errors).&lt;/P&gt;</description>
    <pubDate>Wed, 08 Aug 2018 18:01:49 GMT</pubDate>
    <dc:creator>coppercup</dc:creator>
    <dc:date>2018-08-08T18:01:49Z</dc:date>
    <item>
      <title>Accept Hosted form angular.min.js.map 404 error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-form-angular-min-js-map-404-error/m-p/62730#M36992</link>
      <description>&lt;P&gt;Were am getting a 404 Not Found console error when loading the Accept Hosted form in an iframe on the resource file &lt;A href="https://test.authorize.net/payment/scripts/lib/angular.min.js.map" target="_self"&gt;https://test.authorize.net/payment/scripts/lib/angular.min.js.map&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is not referenced&amp;nbsp;directly in the response&amp;nbsp;source, but still getting the error in the console. I know it's a map file and probably not a big deal, but I would still like to see it resolved.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 15:47:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-form-angular-min-js-map-404-error/m-p/62730#M36992</guid>
      <dc:creator>coppercup</dc:creator>
      <dc:date>2018-04-19T15:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted form angular.min.js.map 404 error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-form-angular-min-js-map-404-error/m-p/62746#M37008</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested and cannot repro this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which browser are you using?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Angie&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 23:13:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-form-angular-min-js-map-404-error/m-p/62746#M37008</guid>
      <dc:creator>angie</dc:creator>
      <dc:date>2018-04-19T23:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Accept Hosted form angular.min.js.map 404 error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-form-angular-min-js-map-404-error/m-p/64055#M38050</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/23551"&gt;@angie&lt;/a&gt;, my apologies for the delayed response. I had to pull off of that project for a while.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get the error in Safari on Mac.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interestingly, when I tested it in Firefox, I got a Content Security Policy error:&amp;nbsp;"The page's settings blocked the loading of a resource at self ("script-src"). Source: onfocusin attribute on DIV element." followed by the same status 404 error on the attempt to load &lt;A href="https://test.authorize.net/payment/scripts/lib/angular.min.js" target="_blank"&gt;https://test.authorize.net/payment/scripts/lib/angular.min.js&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since we don't have any inline JS or onfocusin attributes in our code, I researched and found that Angular can trigger CSP errors unless 'unsafe-inline' is allowed in the CSP&amp;nbsp;script src directive. (See&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/50774193/angular-6-content-security-policy-the-page-s-settings-blocked-the-loading-of-a" target="_blank"&gt;https://stackoverflow.com/questions/50774193/angular-6-content-security-policy-the-page-s-settings-blocked-the-loading-of-a&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I&amp;nbsp;allowed unsafe-inline in the script src CSP directive, both errors went away in Firefox, however Safari still gives the same 404 error on angular.min.js (though no CSP errors).&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 18:01:49 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-Hosted-form-angular-min-js-map-404-error/m-p/64055#M38050</guid>
      <dc:creator>coppercup</dc:creator>
      <dc:date>2018-08-08T18:01:49Z</dc:date>
    </item>
  </channel>
</rss>

