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

Oscar Renalias oscar at renalias.net
Tue Sep 11 13:59:16 EDT 2007


Oops :)

On 11 Sep 2007, at 20:42, Jon Daley wrote:

>  	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.
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list