Making WordPress.org

Opened 9 months ago

Last modified 7 months ago

#4322 new defect

Invalid length search inputs should be handled more cleanly

Reported by: jonoaldersonwp Owned by:
Milestone: Priority: lowest
Component: General Keywords: seo analytics


Very long search requests, such as this one currently outputs malformed canonicals, hreflang values, rel next vals, etc.

Specifically, the values for these either output an additional trailing slash (e.g., https://wordpress.org/plugins/search//), or, output a chunk of the raw URL.

In both cases, the value for these tags should be https://wordpress.org/plugins/search/.

Change History (2)

#1 @Otto42
9 months ago

For reference, the exact breakage point seems to be at 1600 characters. I suspect this to be a limit in the underlying search engine.

This ticket was mentioned in Slack in #meta by tellyworth. View the logs.

7 months ago

Note: See TracTickets for help on using tickets.