missing query argument in validation causes PHP warning

Created on 13 November 2023, about 1 year ago
Updated 5 February 2024, 11 months ago

Problem/Motivation

We see these PHP errors in our logs. They are most likely caused by bots that don't send both query arguments.

Steps to reproduce

Create a URL that sends the lat and not lng or vice-versa.

Proposed resolution

Simple, change the && in validation to an ||

πŸ› Bug report
Status

Closed: works as designed

Version

4.0

Component

Geolocation Field / Backend

Created by

πŸ‡ΊπŸ‡ΈUnited States douggreen Winchester, VA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024