Whilst looking at #2164025: Improve security of session ID against DB exposure or SQL injection noticed that we can change the code flow to remove some functions calls on certain code paths.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2313883.1.patch | 1.32 KB | alexpott |
Comments
Comment #1
alexpottPatch...
Comment #2
tim.plunkettComment #3
legolasboThe patch looks good to me.
Comment #4
webchickNot immediately obvious from the patch, but a couple lines above that it does:
So indeed, $key['sid'] is equivalent to the line being changed.
Committed and pushed to 8.x. Thanks!