[wp-trac] [WordPress Trac] #47817: Using file editor ignores schema and always uses http

WordPress Trac noreply at wordpress.org
Thu Aug 1 22:52:15 UTC 2019


#47817: Using file editor ignores schema and always uses http
----------------------------+-----------------------------
 Reporter:  jeffpaulkinsta  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Filesystem API  |    Version:  5.2.2
 Severity:  normal          |   Keywords:
  Focuses:  rest-api        |
----------------------------+-----------------------------
 When editing a template/theme or plugin file with the WordPress file
 editor, the internal loopback which I assume uses wp-json does not honor
 the schema of the siteurl.

 For example:
 Siteurl: https://kinsta.com

 The request will come through as http://kinsta.com
 If SSL is forced at the server level, this will force the https:// schema.

 This was recently discovered and was failing because a user's SSL
 intermediate chain was missing, so the site would edit fine without HTTPS
 forced, but with SSL forced it would fail.

 We were able to identify the chain issue due to this error occuring when
 force HTTPS was enabled in Nginx:

 ```Unable to communicate back with site to check for fatal errors, so the
 PHP change was reverted. You will need to upload your PHP file change by
 some other means, such as by using SFTP.```

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47817>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list