Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
phlegx opened this issue Oct 15, 2014 · 0 comments
Open

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

phlegx opened this issue Oct 15, 2014 · 0 comments

Comments

@phlegx
Copy link

phlegx commented Oct 15, 2014

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&...
@headstash headstash self-assigned this Dec 29, 2017
@headstash headstash removed their assignment May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants