wordpress-https icon indicating copy to clipboard operation
wordpress-https copied to clipboard

Plugin don't respects $_SERVER['REQUEST_URI'] in backend

Open phlegx opened this issue 11 years ago • 0 comments
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&...

phlegx avatar Oct 15 '14 21:10 phlegx