Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Allow backslashes in event field filters #4083

Merged
merged 2 commits into from
Oct 24, 2018

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Oct 24, 2018

Fixes a bug introduced in #1783 which meant that single backslashes were not allowed in event field filters.

The intention here is to allow single-backslashes, but disallow double-backslashes.

("^((?!\\\).)*$" comes out as ^((?!\\).)*$, which is a regex matching things which don't include a single \.)

Fixes a bug introduced in #1783 which
meant that single backslashes were not allowed in event field filters.

The intention here is to allow single-backslashes, but disallow
double-backslashes.
@richvdh richvdh requested a review from a team October 24, 2018 10:23
@richvdh richvdh merged commit 78e8d4c into develop Oct 24, 2018
@richvdh richvdh deleted the rav/fix_event_filter_validation branch October 29, 2018 12:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants