#917 closed defect (fixed)
superCleanString() strips extended characters
| Reported by: | dstillman | Owned by: | simon |
|---|---|---|---|
| Priority: | critical | Milestone: | 1.0.4 |
| Component: | data layer | Version: | 1.0 |
| Keywords: | Cc: | stakats |
Description
superCleanString() currently strips all non-ASCII characters from the beginning and end of strings, so it can't be used for processing imported text.
Either it needs to be changed to blacklist rather than whitelist characters (say, punctuation and control characters) or else all calls to it that run on imported text (and aren't simply, say, for use in conditionals) in translators need to be changed to trim().
Change History (2)
comment:1 Changed 9 years ago by simon
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 9 years ago by simon
Note: See
TracTickets for help on using
tickets.
(In [2443]) closes #917, superCleanString() strips extended characters