Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.43k stars 1.99k forks source link

"Copy Link" Option Copies HTTP instead of HTTPS Link for Custom Domains #40349

Open katinthehatsite opened 4 years ago

katinthehatsite commented 4 years ago

We had a customer in the German queue who noticed that when you have a custom domain on the site and use the "Copy link" option, it copies the link with HTTP and not with HTTPS.

Steps to reproduce

  1. Make sure your site has a custom domain
  2. Go to My Site -> Pages
  3. Click on three dots by one of the pages and select the option to "Copy Link"
Screen Shot 2020-03-21 at 7 33 16 AM
  1. Try pasting this link somewhere

What I expected

The link to be copied with HTTPS

What happened instead

The link was copied with HTTP:

Screen Shot 2020-03-21 at 7 34 23 AM

Browser / OS version

Chrome Version 80.0.3987.122 (Official Build) (64-bit)

Context / Source

user-report in 2801023-zd

If requesting a new feature, explain why you'd like to see it added. -->

kriskarkoski commented 4 years ago

The same issue is present on the Posts and Portfolio pages as well, so I've updated the title to expand the scope.

kavyagokul commented 4 years ago

Also reported in 3016551-zen

kavyagokul commented 3 years ago

Also reported in 26037932-hc

synora commented 3 years ago

Reported in 3790548-zen. @cathymcbride can we get this added to a team's project board to get some eyes on this?

rickmgithub commented 1 year ago

5913916-zd

github-actions[bot] commented 1 year ago

Support References

This comment is automatically generated. Please do not edit it.

cuemarie commented 1 year ago

📌 SCRUBBING : RESULT - Replicated / Could Not Replicate / Uncertain

📌 FINDINGS/SCREENSHOTS/VIDEO

📌 ACTIONS

wynwin commented 1 year ago

Another report in 6365171-zen

rafaelgallani commented 12 months ago

Also reported in 7247309-zd-a8c.

csonnek commented 11 months ago

Also reported in https://wordpress.com/forums/topic/http-vs-https-3

Custom domain on a Premium subscription

Aurorum commented 10 months ago

7481356-zen

Dug into this a little; the problem seems to be here - can't really tell what's causing it for certain though because I don't have a simple site with a custom domain: https://github.com/Automattic/jetpack/blob/9355163ee69d8a01651944b0ac8d6d3d3cd4cf05/projects/plugins/jetpack/sal/class.json-api-post-base.php#L572C33-L572C46

ariel-maidana commented 8 months ago

Also reported here: 7807654-zd-a8c