Querystring related

C

CB

Yes, non-alphanumeric characters need to be encoded to travel in a URL. If
the link is generated by script, you can use the command:
server.URLEncode("%aaa")

P.S. it looks like you might be passing query string variables directly to
SQL queries, which is very hackable and insecure. Rule 1 of web programming
is to validate all variables from the client You might try:
?searchtype=endswith&searchfor=aaa
and after checking the searchfor string for unexpected junk, construct the
"%aaa" on the server side.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top