Request params only work if they are entered entirely in lowercase

Created on 24 January 2023, over 1 year ago

Problem/Motivation

Trying to use a condition with params like "showNewNav=1" fail because when the condition is evaluated, all params are converted to lowercase and fail the comparison. Instead, it is looking for 'shownewnav'.

Steps to reproduce

Try to match a param with a capitol letter(s).

Proposed resolution

Use params without changing the case for evaluation.

I don't see any tests that check for this scenario so perhaps it is a legitimate bug.

If this is not a bug, then it should have a doc update and update the helper text on the condition form... but its not always common that query string params are always lowercase.

πŸ› Bug report
Status

Active

Version

1.3

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kevinquillen

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

Comments & Activities

Production build 0.69.0 2024