Re: pgsql and exception [message #178126 is a reply to message #178122] |
Mon, 14 May 2012 15:02 |
Une Bvue
Messages: 30 Registered: March 2012
Karma:
|
Member |
|
|
On 14/05/12 15:40, Jerry Stuckle wrote:
> No - you do NOT want to change the user's input! What if it is, for
> instance, a rather long user name? Or an email address?
>
> The input field should be limited to the amount of data allowed (30
> characters, in this case). And if the data coming in are still too
> long, reject it with a message to the user.
Yes right, specially for a link, in fact I've altered the tables columns
for varchar(256), and I'll do something in case the user entered
something longer...
|
|
|