Logo
First domain ever: Symbolics.com (1985)
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Authentication bugs Memes

Posts tagged with Authentication bugs

The Single Equal Sign Of Doom

Programming Javascript Debugging Backend Security
6 months ago 354.7K views 0 shares
The Single Equal Sign Of Doom
That feeling when you realize your production server is granting admin access to literally everyone because you used = (assignment) instead of == (comparison) in your if statement. Fun fact: This single character mistake is why some senior devs wake up in cold sweats at 2AM. The code if (user = admin) doesn't check if user equals admin - it assigns admin to user, then evaluates to true because admin is truthy. Congrats, you just made everyone a superuser!

Today's picks

CafePress World's Coolest REAL ESTATE DEVELOPER Mug 11 oz (325 ml) Ceramic Coffee Mug

CafePress World's Coolest REAL ESTATE DEVELOPER Mug 11 oz (325 ml) Ceramic Coffee Mug

Affiliate
$17.99
GearScouts.com

GearScouts.com

Sponsored
Power stations
The Secret Developer Pipeline

The Secret Developer Pipeline

Programming
144.8K views 1 year ago