Maplat::Web::PreventGetWithArgs - prevent GET requests with arguments
This module prevents GET requests with arguments.
Most XSS attacks (cross site scripting) use GET requests with arguments/parameters to craft harmfull links. Since all maplat modules (at least the ones from this author) only POST arguments and/or use dynamically created URLS (and that only hold ID's), using this module should increase safety without bad side effects.
<module> <modname>preventgetargs</modname> <pm>PreventGetWithArgs</pm> <options> <errorcode>414</errorcode> <pagetext>414 Request-URI Too Long. Did you try to XSS?</pagetext> </options> </module>
it is highly recommended to configure this module as the cwfirstlast module, so it can catch this requests very early.
Internal function.
This module does not depend on other webgui modules.
Maplat::Web
Rene Schickbauer, <rene.schickbauer@gmail.com>
Copyright (C) 2008-2011 by Rene Schickbauer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
To install Maplat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Maplat
CPAN shell
perl -MCPAN -e shell install Maplat
For more information on module installation, please visit the detailed CPAN module installation guide.