ctrlcctrlv / infinity

A vichan fork permitting users to create their own boards
Other
318 stars 149 forks source link

Consolidate ip calls #558

Closed Cipherwraith closed 7 years ago

Cipherwraith commented 7 years ago

This points all* $_SERVER['REMOTE_ADDR'] calls to getIdentity(). The calls that this replaces were historically placed into the database under the ip column. After consolidating all the calls, our next step is to replace the getIdentity() function to return a HASH of an IP instead of the IP itself. This will then guarantee that no IP address is ever stored on the database.