14 ms·
Did you Bypass AWS API Gateway.. or did you bypass it for a company who had their AWS API Gateway misconfigured?
by sammy2255 4mo ago
Did you Bypass AWS API Gateway.. or did you bypass it for a company who had their AWS API Gateway misconfigured?
- stuartjohnson12 4mo agoI hate when people say this, as if there's any world in which I would want my AWS API gateway to do this, let alone accidentally. HTTP is littered with these footguns, differences between slashes and no slashes is a classic. A good piece of software would make it hard to do this by accident, and probably should default to having the same behaviour with or without trailing slash. Yes yes, I know, folder/file naming convention dating from... But it's current year now
- sam_lowry_ 4mo agoHTTP footguns? Meh! I routinely bypass domain blocks by appending a dot to the domain name, e.g. amazon.com.
- fiedzia 4mo ago> A good piece of software would make it hard to do this by accident, and probably should default to having the same behaviour with or without trailing slash. Django redirects one version to another by default, which achieves that.