Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Technology
  3. Life isn't easy if your last name is 'Null' as it still breaks database entries the world over

Life isn't easy if your last name is 'Null' as it still breaks database entries the world over

Scheduled Pinned Locked Moved Technology
74 Posts 51 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L [email protected]

    Word press code, and plugins, do not sanitize out of the box. You have to call an additional function, each time, that is not provided automatically. Many home made plugins miss that; many popular plugins used to be home made ones

    P This user is from outside of this forum
    P This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #17

    Wordpress is a sin against mankind.

    L A 7 Replies Last reply
    1
    0
    • P [email protected]

      Wordpress is a sin against mankind.

      L This user is from outside of this forum
      L This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #18

      Yet here we are, it and the plugins handle too much of my daily traffic. It’s easy to dismiss the piss poor coding, but is done at our peril.

      Everyone of us has personal data stored in those God awful plugins, in their thousands of basic security holes

      1 Reply Last reply
      0
      • F [email protected]

        The article talks about a guy with a “NULL” license plate who gets tons of tickets for things he didn’t do so probably not the best plan

        P This user is from outside of this forum
        P This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #19

        Yep. For the curious, any time a license plate photo couldn’t be fully read by the automated system, it was marked as “NULL” and he was flagged as the driver. So every single red light camera and speeding camera in the area was sending him to court every day.

        C 1 Reply Last reply
        0
        • undefined@lemmy.hogru.chU [email protected]

          I’ve been doing web development for something like 20 years now and I just can’t imagine how shitty your backend is if this is an issue.

          L This user is from outside of this forum
          L This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #20

          It happened to a friend who wasn't passing in the proper types into their stored procedures, all strings, and "null" (not case sensitive) conflicted with actual null values. Everything in the web interface were strings, and so was null.

          For some people it takes this mistake before they learn to always care about the data types you're passing in.

          1 Reply Last reply
          0
          • P [email protected]

            I have never seen this happen, and I don't know what tools would confuse the string "null" with NULL. From the comments in this thread, there are evidently more terribly programmed systems than I imagined.

            A This user is from outside of this forum
            A This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #21

            Shit happens, mistakes are sometimes made. Valve once had code that could delete your entire drive.

            1 Reply Last reply
            0
            • undefined@lemmy.hogru.chU [email protected]

              I’ve been doing web development for something like 20 years now and I just can’t imagine how shitty your backend is if this is an issue.

              dasus@lemmy.worldD This user is from outside of this forum
              dasus@lemmy.worldD This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #22

              With LLM coding increasing, it might be going up. Idk am no pro, just worried.

              Tangential, but I find it hilarious how Gemini's syntax fucks up all the time.

              I ask it to change my light called "CX2" to red. It complies, like usual, and it reads Okay, changing "CX2" to red., but what it says out loud is Okay, changing "CX two inches to red.

              1 Reply Last reply
              0
              • C [email protected]
                This post did not contain any content.
                R This user is from outside of this forum
                R This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #23

                I was NaN years old when I learned this.

                S 1 Reply Last reply
                0
                • S [email protected]

                  A couple years ago I wanted to write a simple website with SQL injection vulnerability, so I could demonstrate sqlmap to someone

                  It was surprisingly difficult (and every fiber in my body screamed)

                  F This user is from outside of this forum
                  F This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #24

                  Imagine how hard it is to be this bad. Yet still people manage to do it.

                  1 Reply Last reply
                  0
                  • L [email protected]

                    Legacy systems still handle more traffic than modern ones, I’d wager

                    A This user is from outside of this forum
                    A This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #25

                    any govt system.

                    1 Reply Last reply
                    0
                    • S [email protected]

                      /me changes name to '); DROP TABLE STUDENTS; --.

                      Z This user is from outside of this forum
                      Z This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #26

                      Are there character escapes for SQL, to protect against stuff like that?

                      S P S S 4 Replies Last reply
                      0
                      • Z [email protected]

                        Are there character escapes for SQL, to protect against stuff like that?

                        S This user is from outside of this forum
                        S This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #27

                        Input sanitation typically handles this as a string that only includes characters supported by the data type of the table in question. While in transit, the strings might be escaped at certain stages, such as via URL encoding. Though this is considered poor practice in many applications, it’s not uncommon to see. The point, however, is to prevent the evaluation of inputs as anything other than their intended type, whether or not reserved characters are present.

                        1 Reply Last reply
                        0
                        • P [email protected]

                          Wordpress is a sin against mankind.

                          A This user is from outside of this forum
                          A This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #28

                          Let's take a blog and slap a whole e-commerce system on it through a plugin and let it auto translate with another one, what could go wrong. wait why is everything so slow, oh i need additional plugins for caching and one more for functionality XYZ why is everything broken now?!?

                          1 Reply Last reply
                          0
                          • P [email protected]

                            Wordpress is a sin against mankind.

                            A This user is from outside of this forum
                            A This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #29

                            Let's take a blog and slap a whole e-commerce system on it through a plugin and let it auto translate with another one, what could go wrong. wait why is everything so slow, oh i need additional plugins for caching and one more for functionality XYZ why is everything broken now?!?

                            narc0tic_bird@lemm.eeN 1 Reply Last reply
                            0
                            • P [email protected]

                              Wordpress is a sin against mankind.

                              A This user is from outside of this forum
                              A This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #30

                              Let's take a blog and slap a whole e-commerce system on it through a plugin and let it auto translate with another one, what could go wrong. wait why is everything so slow, oh i need additional plugins for caching and one more for functionality XYZ why is everything broken now?!?

                              1 Reply Last reply
                              0
                              • P [email protected]

                                Wordpress is a sin against mankind.

                                A This user is from outside of this forum
                                A This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #31

                                Let's take a blog and slap a whole e-commerce system on it through a plugin and let it auto translate with another one, what could go wrong. wait why is everything so slow, oh i need additional plugins for caching and one more for functionality XYZ why is everything broken now?!?

                                1 Reply Last reply
                                0
                                • P [email protected]

                                  Wordpress is a sin against mankind.

                                  A This user is from outside of this forum
                                  A This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #32

                                  Let's take a blog and slap a whole e-commerce system on it through a plugin and let it auto translate with another one, what could go wrong. wait why is everything so slow, oh i need additional plugins for caching and one more for functionality XYZ why is everything broken now?!?

                                  1 Reply Last reply
                                  0
                                  • P [email protected]

                                    Wordpress is a sin against mankind.

                                    A This user is from outside of this forum
                                    A This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #33

                                    Let's take a blog and slap a whole e-commerce system on it through a plugin and let it auto translate with another one, what could go wrong. wait why is everything so slow, oh i need additional plugins for caching and one more for functionality XYZ why is everything broken now?!?

                                    1 Reply Last reply
                                    0
                                    • Z [email protected]

                                      Are there character escapes for SQL, to protect against stuff like that?

                                      P This user is from outside of this forum
                                      P This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #34

                                      Use parameters, that way data and queries are separate.

                                      1 Reply Last reply
                                      0
                                      • Z [email protected]

                                        Are there character escapes for SQL, to protect against stuff like that?

                                        S This user is from outside of this forum
                                        S This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #35

                                        Yes but it's a dangerous process. You should use paramatrized queries instead.

                                        S 1 Reply Last reply
                                        0
                                        • L [email protected]

                                          Legacy systems still handle more traffic than modern ones, I’d wager

                                          T This user is from outside of this forum
                                          T This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #36

                                          And it's probably not seen as urgent enough an issue to need replacing the whole system for.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups