WP-SpamShield 1.4 shows "ERROR 403: Forbidden" on wp-admin login page
-
WP-SpamShield 1.4 contains a new “security module” that “Protects your WordPress site against many common SQL Injection and XSS/XST exploits for better security”.
This feature has a bug. if you try to go to:
… and you’re not logged in, WordPress will redirect you to:
https://example.com/wp-login.php?redirect_to=http%3A%2F%2F example.com%2Fwp-admin%2F&reauth=1
… but this new feature blocks all query strings that contain “http:” with a message saying “ERROR 403: Forbidden”.
Two things:
1. Blocking query strings containing “http:” is obviously wrong. That check should be removed.
2. If you’re going to show error messages that block visitors, explain why you’re doing it. The generic “ERROR 403: Forbidden” has resulted in several of our customers who use this plugin asking if our servers are broken. Instead, display text like “WP-SpamShield has blocked this request due to an invalid query string” or something, so that people can troubleshoot the cause when there’s a problem.
- The topic ‘WP-SpamShield 1.4 shows "ERROR 403: Forbidden" on wp-admin login page’ is closed to new replies.