[JIRA] (JENKINS-59784) Unable to view a pdf file from jenkins workspace

2019-10-16 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck commented on  JENKINS-59784  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Unable to view a pdf file from jenkins workspace   
 

  
 
 
 
 

 
 

When you said alternative you meant that we can relax the rule set right with the help fo this doc
 No, but if you actually read today's version of that wiki page it'll point out the alternative   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202514.1571129142000.8511.1571213640138%40Atlassian.JIRA.


[JIRA] (JENKINS-59784) Unable to view a pdf file from jenkins workspace

2019-10-15 Thread hk...@mathworks.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Hussain Khan commented on  JENKINS-59784  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Unable to view a pdf file from jenkins workspace   
 

  
 
 
 
 

 
 Thanks Daniel! I checked the browser's console and it shows the following error: "Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-C7vpsE1KLI7RuUgCprJTQZin6dWK+ccynbOx+OqjVow='), or a nonce ('nonce-...') is required to enable inline execution." So it does seems to be a CSP problem. When you said alternative you meant that we can relax the rule set right with the help fo this doc - https://wiki.jenkins.io/display/JENKINS/Configuring+Content+Security+Policy  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202514.1571129142000.8482.1571204220164%40Atlassian.JIRA.


[JIRA] (JENKINS-59784) Unable to view a pdf file from jenkins workspace

2019-10-15 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck commented on  JENKINS-59784  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Unable to view a pdf file from jenkins workspace   
 

  
 
 
 
 

 
 If it's a CSP problem, your browser's debug/network console should tell you. Note that Jenkins 2.200 has an alternative to CSP for user-generated content (that is not simply disabling it)   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202514.1571129142000.8187.1571153940156%40Atlassian.JIRA.


[JIRA] (JENKINS-59784) Unable to view a pdf file from jenkins workspace

2019-10-15 Thread hk...@mathworks.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Hussain Khan reopened an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Basically, I cannot open a pdf file on chrome browser from jenkins workspace. If I try opening the file I get a blank page as you can see in the attached snapshot. It works fine if I open it outside the workspace though.  Let me know if you need more clarification!   
 

  
 
 
 
 

 
 Jenkins /  JENKINS-59784  
 
 
  Unable to view a pdf file from jenkins workspace   
 

  
 
 
 
 

 
Change By: 
 Hussain Khan  
 
 
Resolution: 
 Incomplete  
 
 
Status: 
 Closed Reopened  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the 

[JIRA] (JENKINS-59784) Unable to view a pdf file from jenkins workspace

2019-10-15 Thread hk...@mathworks.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Hussain Khan commented on  JENKINS-59784  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Unable to view a pdf file from jenkins workspace   
 

  
 
 
 
 

 
 Basically, I cannot open a pdf file on chrome browser from jenkins workspace. If I try opening I get a blank page as you can see in the attached snapshot. It works fine if I open it outside the workspace though.   Let me know if you need more clarification!  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202514.1571129142000.7643.1571132100241%40Atlassian.JIRA.


[JIRA] (JENKINS-59784) Unable to view a pdf file from jenkins workspace

2019-10-15 Thread hk...@mathworks.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Hussain Khan updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-59784  
 
 
  Unable to view a pdf file from jenkins workspace   
 

  
 
 
 
 

 
Change By: 
 Hussain Khan  
 
 
Attachment: 
 pdfNotOpening.PNG  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202514.1571129142000.7641.1571131980212%40Atlassian.JIRA.


[JIRA] (JENKINS-59784) Unable to view a pdf file from jenkins workspace

2019-10-15 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck closed an issue as Incomplete  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Try to provide actual details about what the problem is you're experiencing. "Unable" covers a wide range.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-59784  
 
 
  Unable to view a pdf file from jenkins workspace   
 

  
 
 
 
 

 
Change By: 
 Daniel Beck  
 
 
Status: 
 Open Closed  
 
 
Resolution: 
 Incomplete  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 

[JIRA] (JENKINS-59784) Unable to view a pdf file from jenkins workspace

2019-10-15 Thread hk...@mathworks.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Hussain Khan created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-59784  
 
 
  Unable to view a pdf file from jenkins workspace   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 core  
 
 
Created: 
 2019-10-15 08:45  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Hussain Khan  
 

  
 
 
 
 

 
 Is this also due to restrictive Content-Security-Policy? If yes, do we have a workaround?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)