Fork me on GitHub
Subscribe 2

Ticket #166 (fixed bug)

Censoring still doesn't work fully with utf-8

  • Created: 2010-10-23 13:24:59
  • Reported by: Reines
  • Assigned to: Reines
  • Milestone: 1.4.4
  • Component: regex
  • Priority: normal


Reines 2010-10-23 15:01:50

The solution is simply more complicated than using \p{L}, as support for unicode character properties wasn't added until 4.4.0/5.1.0, and we currently support 4.3.0. To use this solution we would need to increase the minimum supported PHP version.

Reines 2010-10-24 22:50:53

  • Owner set to Reines.

Reines 2010-12-06 21:59:21

  • Milestone changed from 1.4.3 to 1.4.4.

Oldskool 2011-01-17 11:24:24

I think it's about time to start increasing the minimum PHP version anyway. 4.3.0 is REALLY old by now and has long passed it's end-of-life.

Reines 2011-01-23 14:07:42

Commit ebf12e1 to fluxbb fluxbb-1.4

Changing the regular expressions to use \p{L} instead of \w and \P{L} instead of \W. This fixes numerous unicode related issues:
- #166: Censoring still doesn't work fully with utf-8
- #179: Indexer can't recognize Unicode punctuation
- #239: Unicode hyperlink not clickable and truncated

Reines 2011-01-23 14:14:20

I've implemented a fix for this - just testing for some testing.

Reines 2011-01-26 15:24:26

  • Status changed from open to fixed.