Opened 4 years ago
Last modified 4 years ago
#52295 new defect (bug)
The response is not a valid JSON response - URL permalink using the ? sign
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.6 |
Component: | Permalinks | Keywords: | |
Focuses: | Cc: |
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.
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.