Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Javascript and Mantis: msg#00102

bug-tracking.mantis.devel

Subject: Re: Javascript and Mantis

On Mon, 2007-10-29 at 08:42 -0700, James Frasca wrote:
> Rather than re-writing the form code, this would be a perfect place to
> add some javascript to validate the form. It is a circumstance that
> would ease the user experience, but isn't required for the application
> to function.

As long as you also continue to validate the form input on the server
side as well. Just because a form has client-side validation doesn't
mean I can't pass bad values to the form and submit it to the server
(i.e. SQL injection, xSS exploits, etc.)

The issue with hitting the Back button and having it erase the form, is
just due to improper use of the form construction itself. That can be
fixed without having client-side Javascript attempt to validate the
form's values.


--
David A. Desrosiers
desrod-PoZ5/QCWMfb/2OF+hy8yCA@xxxxxxxxxxxxxxxx
setuid-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx
http://projects.plkr.org/
Skype...: 860-967-3820


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
solaris.opensol...    editors.vim/200...    web.turbogears....    jakarta.ant.dev...    mathematics.max...    text.unicode.ge...    lang.ruby.core/...    xfce.announce/2...    network.centeri...    php.cvs.pear/20...    user-groups.lin...    kde.devel.quant...    file-systems.ar...    redhat.fedora.t...    apple.fink.auto...    gnome.orbit.gen...    qplus.devel/200...    culture.transpo...    video.dri.user/...    operators.nanog...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation