Skip to content

Whisperback should use a generic regexp to match serial numbers

We could keep on adding patterns to the sanitizing regexp, that looks like an endless blacklist approach. However I fail to see how to take a white-list approach on this without killing the whole purpose of this additional information.

We should remove everything that follow the “serial”, “sn” and “s/n” word, matching case insensitive. That would work for most issues that have been discovered yet, but would also remove some non-harming lines.

Parent Task: #6769

Subtasks

Original created by @alant on 6800 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information