Bug #6800

Whisperback should use a generic regexp to match serial numbers

Added by alant 2014-03-01 23:16:57 . Updated 2014-04-03 17:06:18 .

Status:
Confirmed
Priority:
Normal
Assignee:
alant
Category:
Target version:
Start date:
2014-03-01
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
0
Affected tool:
WhisperBack
Deliverable for:

Description

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.


Subtasks

Bug #6801: Add unittests for all supported serial numbers patterns in WhisperBack Confirmed alant

0


History

#1 Updated by alant 2014-03-01 23:24:17

  • Description updated

#2 Updated by intrigeri 2014-04-03 17:06:18

  • Status changed from New to Confirmed