Bug #1748
closed
KB: Erase whitespace symbols from the beginning and end of user input
Added by Alexey Khoroshilov about 13 years ago.
Updated over 12 years ago.
Category:
Statistics server
Published in build:
580ac09
Description
Do not use whitespace symbols in tags list is counterintuitive, but currently it leads to invalid tags extraction.
We should erase whitespace symbols from the beginning and end of each tag after tag-list separation and from the beginning and end of other user inputs (except for script).
- Category set to Statistics server
- Status changed from New to Open
- Assignee set to Evgeny Novikov
I just want to add that already processed entities should be stored in a database to simplify the whole process.
- Status changed from Open to Resolved
- Published in build set to 580ac09
I have fixed the issue in commit 580ac09 of the master branch. So there will be less "different" tags at the main statistics page as well as at unsafes page. To fix previously stored tags I just have run manually in LDV reference mysql console:
update kb set tags=replace(tags, " ", "");
When tests will pass, I'll deploy the fix on QA.
Works quite fine. Alexey, please close it, if all is ok.
- Status changed from Resolved to Closed
Also available in: Atom
PDF