This plugin is looking at and URL encoding internal URLs in the admin area?
-
This plugin is interfering with other plugins that are using the WordPress Settings API in a form to save options to the WP DB. Example: The form action is action=”options.php”. When clicking a save / update button this php error is generated below. This is issue is occurring on every single form that is using the WordPress Settings API and within several different plugins as well.
[20-Aug-2011 05:46:51] PHP Warning: Redirect location “/wp-admin/admin.php?page=bulletproof-security%2Fadmin%2Fphp%2Fphp-options.php&settings-updated=true” does not look like an absolute URL as requested by RFC 2616; 14.30 Location. in /home1/xxxxx/public_html/wp-content/plugins/better-http-redirects/better-http-redirects.php on line 82
URL encoding replaces unsafe ASCII characters with a “%” followed by two hexadecimal digits. %2F is the URL encoded forward slash.
So I’m not sure why the forward slash is being URL encoded when it is a WordPress dynamically generated URL within the WP Dashboard / admin area. This plugin should not be URL encoding other plugins admin options or any other URLs in any admin areas at all IMO. URL encoding should only be allowed for external URLs in the public front end of the site.
Or maybe the issue is that the URL encoding is already occurring but this plugin is generating php errors because of this? Not really totally sure, but either way this should not be happening in the admin areas.
So this plugin looks good otherwise, just needs these coding corrections. Thanks.
- The topic ‘This plugin is looking at and URL encoding internal URLs in the admin area?’ is closed to new replies.