wordpress-https
wordpress-https copied to clipboard
Plugin don't respects $_SERVER['REQUEST_URI'] in backend
trafficstars
Wordpress: 4.0 (http://codex.wordpress.org/Version_4.0)
Works without problems on Wordpress 3.8.1!!! The Wordpress HTTPS plugin has the following configuration:
SSL Host: ssl-reverse-proxy.com/example.com Force SSL Admin: true Force SSL Exklusiv: true Proxy: auto
All links in the backend that are generated with $_SERVER['REQUEST_URI'] are broken.
Example:
/* /wp-admin/plugins.php - line 294 */
...
<form method="post" action="<?php echo esc_url($_SERVER['REQUEST_URI']); ?>" style="display:inline;">
produces:
https://ssl-reverse-proxy.com/wp-admin/network/plugins.php?action=delete-selected&...
but should be:
https://ssl-reverse-proxy.com/example.com/wp-admin/network/plugins.php?action=delete-selected&...