Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#31091 closed defect (bug) (fixed)

A number of external-http requests are failing due to HTTPS redirects

Reported by: boonebgorges's profile boonebgorges Owned by: boonebgorges's profile boonebgorges
Milestone: 4.2 Priority: normal
Severity: minor Version:
Component: Build/Test Tools Keywords:
Focuses: Cc:

Description

There must have been a recent change on wordpress.com that is forcing HTTPS for certain URLs. A number of our external-http tests that use wordpress.com assets are failing, because the initial requests are getting 301ed to https URLs. It appears that swapping out for the canonical https addresses should fix the problem, and keeps the logic of the tests intact.

Change History (4)

#1 @boonebgorges
10 years ago

  • Owner set to boonebgorges
  • Resolution set to fixed
  • Status changed from new to closed

In 31258:

Use https URLs for wordpress.com assets in Tests_HTTP_Functions.

The http->https redirects were breaking some of the tests.

Fixes #31091.

#2 @boonebgorges
10 years ago

In 31259:

A few more wordpress.com https assets in unit tests.

See #31091.

#3 @ocean90
8 years ago

In 40287:

Tests: Use https URLs for wordpress.com assets in Tests_HTTP_Functions and Tests_Image_Functions.

Merge of [31258] and [31259] to the 4.1 branch.
See #31091.

#4 @ocean90
8 years ago

In 40289:

Tests: Use https URLs for wordpress.com assets in Tests_HTTP_Functions and Tests_Image_Functions.

Merge of [31258] and [31259] to the 4.0 branch.
See #31091.

Note: See TracTickets for help on using tickets.