sqlparse icon indicating copy to clipboard operation
sqlparse copied to clipboard

`Token`'s attributes `value` and `normalized` may become inconsistent

Open shaowen310 opened this issue 4 years ago • 0 comments

I find that StripWhitespaceFilter may modify Whitespace token's value attribute directly, but normalized attribute is not updated. Token's method match() relies on normalized attribute, and may not work as intended.

shaowen310 avatar May 13 '20 15:05 shaowen310