Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: f0be0ca01f98f36c4f1a54edec87de251255e64c
      
https://github.com/jenkinsci/jenkins/commit/f0be0ca01f98f36c4f1a54edec87de251255e64c
  Author: Mark Waite <[email protected]>
  Date:   2023-02-26 (Sun, 26 Feb 2023)

  Changed paths:
    M core/src/main/resources/lib/layout/copyButton/copyButton.js

  Log Message:
  -----------
  [JENKINS-21052] Warn user that the copy button requires HTTPS (#7665)

Warn user that the copy button requires HTTPS

Users that run Jenkins over an unencrypted (HTTP) connection will see
the copy button, but it does not perform a copy.  Browsers will only
allow access to the clipboard if the page is in a secure context.

With this change, the text that is displayed when the user clicks the
copy button from an insecure context will alert the user that copy
requires a secure connection.

https://stackoverflow.com/questions/400212/how-do-i-copy-to-the-clipboard-in-javascript
describes the alternatives in more detail.

https://issues.jenkins.io/browse/JENKINS-21052 reported that the copy
button does not work.  I've confirmed that it works when using an HTTPS
connection.


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/heads/master/bc7f06-f0be0c%40github.com.

Reply via email to