WordPress.org

Making WordPress.org

Opened 8 weeks ago

Last modified 3 days 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
Cc:

Description

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
8 weeks 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.


3 days ago

Note: See TracTickets for help on using tickets.