Re: Another Sql Injection

From: JR (jrudy_at_thesimpletouch.com)
Date: 08/10/05


Date: Tue, 9 Aug 2005 21:21:00 -0700

Here are my code:
      <asp:textbox id="txtEmail" runat="server" Width="200" MaxLength="30"/>
 <asp:RequiredFieldValidator id="valRequired2" runat="server"
    ControlToValidate="txtEmail"
    ErrorMessage="Required field"
    Display="dynamic" />

<asp:RegularExpressionValidator id="valEmail" runat="server"
ControlToValidate="txtEmail"
ValidationExpression=".*@.*\..*"
ErrorMessage="Error !"
display="dynamic"/>

thanks bud

> > Actually I dont really care about the "having .." words can make
something
> > wrong there.
> > But the point is, I just wonder how can they still put that words in my
> > database.
>
> Okay, I just missunderstood it ; ) HAVING was really entered into the
> user table ;)
>
> Well... same question : show us your regular expression. Either it's
wrong,
> either you missed some logic into your validation process. The first one's
> faster to examine.
>
>
> antonio
>
>