List Info

Thread: Re: Content titles with leading or trailing spaces in their names




Re: Content titles with leading or trailing spaces in their names
country flaguser name
United States
2008-03-23 22:23:24
>       silently trim leading/trailing spaces before
creating the pages
> or    reject creation of page names with
leading/trailing spaces
> or    leave as it currently is
>
> I'm inclined to do the first choice, automatically trim
page names before
> creating them.

Yes, I agree. All input type=text fields should be trimmed.

> Might also be a good idea to check in the verify
functions to verify the
> names are in correct format.

What is a correct format name?


[  /   Christian Fowler             | spider AT viovio.com
[ >X<   http://www.viovio.com/sp
ider | http://www.bitweaver.
org/spider
[ / 	            ~~~ always plan in the millions ~~~

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
bitweaver-core mailing list
bitweaver-corelists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitweave
r-core

Re: Content titles with leading or trailing spaces in their names
country flaguser name
United Kingdom
2008-03-24 02:22:44
Christian Fowler wrote:
>>       silently trim leading/trailing spaces before
creating the pages
>> or    reject creation of page names with
leading/trailing spaces
>> or    leave as it currently is
>>
>> I'm inclined to do the first choice, automatically
trim page names before
>> creating them.
> 
> Yes, I agree. All input type=text fields should be
trimmed.

Seconded
I was looking to see if it could be applied at the ADOdb
level anyway, the 
contact and nlpg packages I have working here need that
timing everywhere ;)

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http
://home.lsces.co.uk/lsces/wiki/?page=contact
L.S.Caine Electronic Services - http://home.lsces.co.uk
EnquirySolve - http://enquirysolve.com/

Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.fireb
irdsql.org/index.php

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
bitweaver-core mailing list
bitweaver-corelists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitweave
r-core

Re: Content titles with leading or trailing spaces in their names
country flaguser name
United States
2008-03-23 23:26:58
>>       silently trim leading/trailing spaces before
creating the pages
>> or    reject creation of page names with
leading/trailing spaces
>> or    leave as it currently is
>>
>> I'm inclined to do the first choice, automatically
trim page names before
>> creating them.
>
> Yes, I agree. All input type=text fields should be
trimmed.
>
>> Might also be a good idea to check in the verify
functions to verify the
>> names are in correct format.
>
> What is a correct format name?

Sorry, I meant the input values in the correct format.



------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
bitweaver-core mailing list
bitweaver-corelists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitweave
r-core

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )