Skip to content

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

Open
@phlegx

Description

@phlegx

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&...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions