[wp-trac] [WordPress Trac] #33092: Media Library uploads don't take HTTPS into account

WordPress Trac noreply at wordpress.org
Thu Jul 23 09:45:07 UTC 2015


#33092: Media Library uploads don't take HTTPS into account
--------------------------+------------------------------
 Reporter:  JanR          |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by JanR):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Replying to [comment:1 boonebgorges]:
 > Can you give more details about your site configuration? Attachment URLs
 are built using your 'siteurl', which is the value in the "WordPress
 Address (URL)" field on wp-admin/options-general.php. I'm assuming that,
 on your site, this value is *not* https. Is HTTPS optional on your site?
 Are you forcing it at the webserver level?

 I'm not sure whether it matters, I'm running a multisite instance with the
 domain mapper plugin. I added sub domains, which I changed to full domains
 through ''Edit Site''.

 All domains are listed with HTTPS in 'Site URL' under 'Info', but
 apparently not under 'Settings' tab (honest, I've never noticed nor
 checked that, my bad). This ticket can be closed.

 For future reference (to whom might stumble upon this ticket):

 {{{
 MariaDB [dbname]> SELECT option_id,option_value FROM wp_5_options where
 option_value LIKE "%cdn.saotn.org";
 +-----------+----------------------+
 | option_id | option_value         |
 +-----------+----------------------+
 |         1 | http://cdn.saotn.org |
 |         2 | http://cdn.saotn.org |
 |       108 | http://cdn.saotn.org |
 +-----------+----------------------+
 3 rows in set (0.00 sec)

 MariaDB [dbname]> SELECT option_id,option_value FROM wp_3_options where
 option_value LIKE "%www.itfaq.nl/";
 +-----------+----------------------+
 | option_id | option_value         |
 +-----------+----------------------+
 |         1 | http://www.itfaq.nl/ |
 |         2 | http://www.itfaq.nl/ |
 +-----------+----------------------+
 2 rows in set (0.00 sec)

 MariaDB [dbname]> SELECT option_id,option_value FROM wp_options where
 option_value LIKE "%www.saotn.org";
 +-----------+-----------------------+
 | option_id | option_value          |
 +-----------+-----------------------+
 |         1 | http://www.saotn.org  |
 |        36 | http://www.saotn.org  |
 |    305348 | https://www.saotn.org |
 +-----------+-----------------------+
 3 rows in set (0.01 sec)
 }}}

 Updating the option_value records will resolve this. I'll mark this ticket
 as ''resolve as'' '''invalid''', my apologies.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33092#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list