Prevent contributor dangerous mistake : a pipe without anything after or before
- Dominant language
- PHP
- Stars
- 5
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
**Problem**
On bubble 1859, there was this regex line : `(nest.audio|nest.mini|home.mini|nest.hub|lenovo.smart.clock|lenovo.smart.display|homepod|) `
Contributor forgot one pipe at the end of his regex.
Consequence : It matched with all page of website listed in domain list.
Many users have bee annoyed during their navigation, stats were thus awful :

Fortunaltly, during Q&A work, Julien saw the problem and alerted the team.
The false positive so named lasted 2 days.

**Solutions**
1. In contribution BO, if a contributor writes `|)` or `(|` the system blocks him.
2. If a contribution has in an hour more than 10 views and a rate detail click / view < 3% during this hour, it alerts contribution@dismoi.io with the number of the bubble. (This solution needs to be discussed with contribution team and technical team to be refined)
Contributor guide
Assessment
This issue has not been assessed yet.