[pLog-svn] BlogNameValidator() cause Chinese blog name error!

Jon Daley plogworld at jon.limedaley.com
Tue Sep 11 09:23:46 EDT 2007


 	I don't think changing it to string validator is the right answer, 
since we use urlize and domainize other places, so if they are broken for 
chinese characters, they need to be fixed, otherwise, you will have issues 
in other places too.
 	A string validator doesn't do anything, so we can't count on that 
to actually validate the data.

On Tue, 11 Sep 2007, Mark Wu wrote:

> Hi Oscar & Jon:
>
> It seems the new BlogNameValidator will cause some error when user enter
> Chinese blog name.
>
> I am still checking on it, it seems the new Textfilter::domanize() or
> Textfilter::urlize()  casue the error.
>
> If I can not fix this bug, I will change it back to string validator if blog
> admin does not enable subdomain and blogdomain function. It can avoid this
> kind of problem.
>
> Mark
>

-- 
Jon Daley
http://jon.limedaley.com/

The real world is
a special case.
-- Horngren's Observation


More information about the pLog-svn mailing list