Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Error occurs on enabling the X-Content-Type-Options



Error occurs on enabling the X-Content-Type-Options: nosniff header. Addtionally, the issue as reported in occurs.

Error Messages

Refused to execute script from 'http://xxx:yyy/prweb/PRServlet?pyActivity=pzGetURLHashes&TenantName=' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled

Steps to Reproduce

  1. Setup Mashup page for a case
  2. Setup Tomcat setting to enable the X-Content-Type-Options: nosniff (refer details on
  3. Apply HFix-35699
  4. Open the web page

Root Cause

Issue with response content type in the pzGetURLHashes activity for set content to the response.


Apply HFix-39682.

Published February 13, 2018 - Updated October 8, 2020

Was this useful?

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us