• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: preventing sql injection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: preventing sql injection


  • Subject: Re: preventing sql injection
  • From: "John Huss" <email@hidden>
  • Date: Thu, 25 Oct 2007 11:09:32 -0500

Actually, the "replace" function doesn't use regular expressions - it only finds literal matches.

replace(CharSequence target, CharSequence replacement)
          Replaces each substring of this string that matches the literal target sequence with the specified literal replacement sequence.

"replaceAll" in contrast DOES use regular expressions.

John
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >preventing sql injection (From: Johan Henselmans <email@hidden>)
 >Re: preventing sql injection (From: Q <email@hidden>)
 >Re: preventing sql injection (From: Johan Henselmans <email@hidden>)
 >Re: preventing sql injection (From: "John Huss" <email@hidden>)
 >Re: preventing sql injection (From: Johan Henselmans <email@hidden>)

  • Prev by Date: Re: preventing sql injection
  • Next by Date: How can I name checkboxes in a table for a javascript?
  • Previous by thread: Re: preventing sql injection
  • Next by thread: Why won't this work!?
  • Index(es):
    • Date
    • Thread