Closed joenjia-ccs closed 9 months ago
Hi @joenjia-ccs ! Thank you very much for reaching out. Your report is very clear, I'm going to investigate the issue and will give you an update when I have some results!
Hi @joenjia-ccs ! Version 10.3.2-beta0001 has been released with a fix for this issue, could you try it out and see if it works?
tested this version on my machine, 1) Regex validation will block any Regex start with "?" 2) even in database the sourceRegex field has this invalid value, the Umbraco still running well, but seems no any error log created even I enabled the logging on UrlTracker
Hi @joenjia-ccs Thanks for trying version 10.3.2-beta0001! We are happy to hear that the websites is running well despite the redirect with the invalid regex pattern.
We will consider adding logging. We have initially omitted logging because logging regex pattern errors in the request pipeline would potentially create thousands of log messages.
Regex patterns cannot start with the "?" character so I feel it is appropriate that such patterns trigger a validation error. We are happy to hear your thoughts about this.
enter an invalid Regex causing an unhandled error thus crash Umbraco website _Using version: 10.2.1 _Umbraco version: 10.6.1
To Reproduce Steps to reproduce the behavior:
Expected behavior website run even there is a Regex error on Url Tracker
Desktop (please complete the following information):
Strong suggest encapsulating any error in the extension not pop up to Umbraco.