]> git.mxchange.org Git - quix0rs-gnu-social.git/commit - lib/util.php
Implement a common_purify for htmLawed and more
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 17 Feb 2015 23:10:31 +0000 (00:10 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 17 Feb 2015 23:10:31 +0000 (00:10 +0100)
commit3dce6d9f6a1a95c42cdc1762140528323c71b08f
treed36a4d1d172cd694f7227c9b6d3a438e1f6c7700
parent9aa59c7f623308647ef69a32784a5964f3b5e374
Implement a common_purify for htmLawed and more

We're removing unicode formatting characters as well, such as RTL marks.
For more info on why we're because extra cautious (but may accept the
characters in later versions) you can read:
https://blog.malwarebytes.org/online-security/2014/01/the-rtlo-method/
lib/util.php