Making WordPress.org

Opened 8 years ago

Closed 8 years ago

#2275 closed defect (bug) (fixed)

Plugin Directory Search errors 502 on Firefox

Reported by: ipstenu's profile Ipstenu Owned by: tellyworth's profile tellyworth
Milestone: Plugin Directory v3.0 Priority: high
Component: Plugin Directory Keywords: needs-patch
Cc:

Description

On firefox, the first time you run a search for anything (on either old or new) you get a 502 nginx error and the URL doesn't redirect:

https://wordpress.org/plugins-wp/?s=asdasase

If you hit refresh, it's fine.

This only happens on Firefox. I think it's an issue with the nguni redirect but I'm not sure how.

Change History (2)

#1 @tellyworth
8 years ago

  • Milestone set to Plugin Directory v3.0

#2 @tellyworth
8 years ago

  • Owner set to tellyworth
  • Resolution set to fixed
  • Status changed from new to closed

In 4457:

Plugin directory: don't trigger an ElasticSearch query if the search will redirect to a pretty URL.

This eliminates double queries and appears to fix the 502 error in Firefox.

Fixes #2275

Note: See TracTickets for help on using tickets.