On Thursday 13 November 2008 17:33, [EMAIL PROTECTED] wrote:
> Author: xor
> Date: 2008-11-13 17:33:43 +0000 (Thu, 13 Nov 2008)
> New Revision: 23528
>
> Modified:
> trunk/plugins/Freetalk/FTBoard.java
> Log:
> Add FIXME.
>
> Modified: trunk/plugins/Freetalk/FTBoard.java
> ===================================================================
> --- trunk/plugins/Freetalk/FTBoard.java 2008-11-13 17:27:32 UTC (rev
> 23527)
> +++ trunk/plugins/Freetalk/FTBoard.java 2008-11-13 17:33:43 UTC (rev
> 23528)
> @@ -68,6 +68,9 @@
> int firstDot = name.indexOf('.');
> String firstPart = firstDot!=-1 ? name.substring(0, firstDot) :
> name;
>
> + /* FIXME: This is just the basic check, we should do more
> checks:
> + * The rest of the name should match a whitelist of allowed
> punctuation
(excluding for example &<>%#), or letters (i.e. not necessarily
> + * English letters) according to Character.isLetter(). */
Numerals too.
> return name.matches("[a-zA-Z0-9.]") ||
> ISOLanguages.contains(firstPart);
> }
pgpc3Y89CyVSY.pgp
Description: PGP signature
_______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
