Opened 4 years ago
Closed 4 months ago
#55385 closed defect (bug) (invalid)
Error in Search
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Posts, Post Types | Keywords: | reporter-feedback |
| Focuses: | Cc: |
Description
Hi Support,
When we are searching any keyword which start from .profile it send the backend normal post and page search to the frontend not found. Instead it should stay on same page and show not found.
For example please search this www.profile.com and it will send you to frontend.
Can you please advise why it is happening ?
Regards,
Himanshu
Change History (4)
#2
@
4 years ago
This is likely related to Apache's ModSecurity module rather than WordPress. .profile is a restricted filename at OWASP ModSecurity Core Rule Set.
See also: https://serverfault.com/questions/932614/apache-issue-with-profile-in-the-url
This ticket was mentioned in Slack in #core by sirlouen. View the logs.
4 months ago
#4
@
4 months ago
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
4 years have passed since more feedback was asked and no feedback has been provided since then
I'm going to close this for now. @himanshushokhanda in case you could provide additional information as @costdev asked, feel free to comment here, and I will be happy to test it with the new information and reopen and in case is reproducible, proceed with the next steps to solve the issue
Hi @himanshushokhanda, welcome to Trac!
I can't seem to reproduce this issue.
Env
WordPress: 5.9.2
OS: Linux
Browser: Chrome
Theme: Twenty-Twenty Two
Plugins: None activated
Steps to reproduce the issue
Posts > All Posts.www.profile.com. If brought to the frontend, the issue has been reproduced.Pages > All Pages.www.profile.com. If brought to the frontend, the issue has been reproduced.Results
@himanshushokhanda, can you tell us: