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

Jon Daley plogworld at jon.limedaley.com
Tue Sep 11 13:42:15 EDT 2007


 	Check again:

return(( Textfilter::domainize( Textfilter::filterAllHTML( $value ))) != "" );


On Tue, 11 Sep 2007, Oscar Renalias wrote:

> Why is BlogNameValidator the problem? I don't see any calls to
> domainize() or urlize() in the code of the validator...
>
> On 11 Sep 2007, at 14:28, 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
>> _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.lifetype.net
>> http://limedaley.com/mailman/listinfo/plog-svn
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>

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

Normal people believe that if it ain't broke,
    don't fix it.
Engineers believe that if it ain't broke,
    it doesn't have enough features yet.


More information about the pLog-svn mailing list