Closed Zegnat closed 11 years ago
Don't want to remove the Apple logo if people care to use it, but OK, this looks a straightforward enough bug, thanks for filing as always.
Don't want to remove the Apple logo if people care to use it […]
True. Instead of \pC
you could use \pCc
which includes things like tab, linefeed and carriage return. This way you will not strip \pCo
, which is private use (including the Apple logo).
Currently PHP’s
trim
is the only thing applied to submitted data such as user names. But this will not catch everything. Instead a replace like this might be used:H/t Markus Hedlund.