Opened 5 years ago
Last modified 5 years ago
#52295 new defect (bug)
The response is not a valid JSON response - URL permalink using the ? sign
| Reported by: | rshlo | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Permalinks | Version: | 5.6 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Encountered a problem at a friend's blog so tried to recreate it on a test site.
- Installed vanilla WP_5.6-he_IL with no additional settings or changes on shared Dreamhost hosting with default settings - no cache, Cloudflare or any other settings. Server uses php 7.4
- Created a first post - everything works great.
- Changed the permalink to the simple permalink format e.g. /?=123, that was the default in older versions.
- Tried to create a new post with a URL inside the post and got the above mentioned error message.
- Changed to other permalink structures - no problem at all.
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
checking the debug log points to an error in
wp-includes/load.php:1650
That is a function to {{{
}}}
So it seems that this regex check is failing on links with the ? sign in the url.