Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: The most powerful CMS developed in Perl (not spam, sounds that way) (without functions)

by Anonymous Monk
on Feb 04, 2013 at 10:59 UTC ( #1016932=note: print w/ replies, xml ) Need Help??


in reply to Re^2: The most powerful CMS developed in Perl (not spam, sounds that way) (without functions)
in thread The most powerful CMS developed in Perl (not spam, sounds that way)

There is no SQL injection, all code is protected. Please supply any example where it is not.

I linked the xample. 1) you don't use $dbh->quote, 2) you don't use placeholders 3) you interpolate variables into $dbh->do

2. CGI is bloated. The internal method is MUCH faster.

*sigh* So you didn't read use CGI or die, congratulations, this is the last time I give you advice :)

Don't have enough functions ...

:|

4. No strict refs impossible when using &{$..} as far as I'm aware.

Gee, kinda why I said to use pluggable and real actual modules not .functions

Have a nice day


Comment on Re^3: The most powerful CMS developed in Perl (not spam, sounds that way) (without functions)
Re^4: The most powerful CMS developed in Perl (not spam, sounds that way) (without functions)
by Anonymous Monk on Feb 08, 2013 at 10:17 UTC
    Here goes… 1. $dbh_quote is used all over, but not when it's not required where the variables have been pre-checked by parent modules. This is faster. 2. The denial of service you refer to I presume is the overloading of URI data, to be fair there are much easier ways to create a DOS attack than this. This I think should be left to the web server. Otherwise, you haven't given any credible explanation as to why CGI should be used over the internal method. 4. Not possible without object orientation. Nothing wrong with &{$_} either.
      The denial of service you refer to I presume is...

      You presume? You said "It already features the best security system of any CMS (I believe this)", and you can only guess as to the bugs in your hand-rolled CGI parser? Did you read any of the relevant RFCs before you wrote that code?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016932]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2014-09-19 18:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (144 votes), past polls