Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Encoding issue from DBI to string

by karlgoethebier (Prior)
on Jan 03, 2013 at 20:09 UTC ( #1011510=note: print w/replies, xml ) Need Help??


in reply to Re^2: Encoding issue from DBI to string
in thread Encoding issue from DBI to string

"Are you asking me if SQL injection is considered harmful, or worth mentioning?"

No, i've just been thinking that i'm totally wrong...(self-doubt)?

«The Crux of the Biscuit is the Apostrophe»

  • Comment on Re^3: Encoding issue from DBI to string

Replies are listed 'Best First'.
Re^4: Encoding issue from DBI to string
by marto (Bishop) on Jan 04, 2013 at 09:36 UTC

    The SQLi point I raised is unrelated to the encoding issue. It's a common attack vector, people generally aren't aware of security issues when they start coding.

      Yes, shure - you are right, no question. But perhaps your answer wasn't as helpful as intended in this context?

      Best regards, Karl

      P.S.: But what the hell causes this encoding issue?

      «The Crux of the Biscuit is the Apostrophe»

        "But perhaps your answer wasn't as helpful as intended in this context?"

        You mean my response which linked to a wikipedia article explaining in detail the problem, a link which shows how to resolve the issue in Perl/DBI and a cartoon illustrating the issue of blindly trusting user input? ev0lution seemed to understand the point I made.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011510]
help
Chatterbox?
[perldigious]: Ah, thanks choroba, that sort of thing was precisely what I was wondering when I asked.
[perldigious]: I didn't want to tie up memory unecessarily basically, I wanted to "delete" it specifically to free it up, and wasn't sure I was even accomplishing that.
[stevieb]: perldigious You should start by writing some unit tests. That'll ensure current functionality doesn't break with changes.
[choroba]: unit tests++
[choroba]: The only problem you can't solve by adding more tests is the problem of having too many tests.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2017-07-21 19:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (335 votes). Check out past polls.