dgtlmoon / dgtlmoon/changedetection.io

System should timeout on badly formed regex's - freezes on adding ignore text filter with a badly formed regex

Open
#2,268 7 comments 0 reactions 1 assignee Claimed by @dgtlmoon View on GitHub
enhancement
Dominant language
Python
Stars
34.1k
Forks
2k
Avg merge
23h 38m
Merged PRs (30d)
67

Description

**Describe the bug**
Software freezes on adding specific ignore text on a specific website

**Version**
0.45.16

**To Reproduce**

Steps to reproduce the behavior:
1. Add URL 'http://gtu.ac.in/Recruitment.aspx' using Playwright Chromium.
2. Add following Ignore text in filters.
```
/.*\bvisit.*\b.*/i
/.*\bhits.*\b.*/i
/.*\bpageviews.*\b.*/i
/.*\btemperature.*\b.*/i
/.*\bhumidity.*\b.*/i
/.*\bआगंतुक.*\b.*/i
/.*\bकॉपीराइट.*\b.*/i
/.*\bकुल विज़िट.*\b.*/i
/^\s*(\d+\s*)+$/
/Downloads:\ \d+/
Originaltext
Diese Übersetzung bewerten
Mit deinem Feedback können wir Google Übersetzer weiter verbessern
Original text
Rate this translation
Your feedback will be used to help improve Google Translate
원본 텍스트
번역 평가
보내주신 의견은 Google 번역을 개선하는 데 사용됩니다
原文
この翻訳を評価してください
いただいたフィードバックは Google 翻訳の改善に役立てさせ
```

Can't use share button because everything freezes as soon as above filter is added.
**Expected behavior**
All of the software should not freeze. If there some issue with ignore text or with the URL/website, it should not impact complete software.

**Additional context**
Note that above filter was added as global filter to thousands of watches but this issue is only with this one URL. It took us a while to zero down to this one URL.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.