3 ms·
Generally I try to sanitize the input and store the original raw value in case we find sanitation bugs. I'd prefer fixing the old data when needed to having ov
by winrid 7y ago
Generally I try to sanitize the input and store the original raw value in case we find sanitation bugs.
I'd prefer fixing the old data when needed to having overhead on every read, at least for FastComments...
- winrid 7y agodownvotes?
- zAy0LfpBZLC8mAC 7y agoYes. Sanitizing inputs is a bad idea, still.
- winrid 7y agoMaybe Sanitizing is the wrong word for what I'm doing. For example, I need to strip marketing/tracking information from URLs before saving them or else someone coming from Google will have a different URL than someone coming from FB and then the comments won't load. I guess I meant normalization.