1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-09 20:18:08 +02:00
Files
php-e107/e107_handlers
Nick Liu a374886425 Fixes #3437 – e_form::inlineToken() performance
This "inline token" is generated 30 times in my test, but it's the same
session_id() being hashed. This is wasteful and can be mitigated in two
ways:

* Reducing the time cost like so: return password_hash(session_id(),
PASSWORD_DEFAULT, ['cost' => 04]);
* Storing the hash as an instance variable the first time it's
generated

This commit applies both mitigations.
2018-09-23 15:32:57 -05:00
..
2017-07-17 12:10:32 -07:00
2018-07-25 10:32:03 +02:00
2017-04-16 06:37:54 +02:00
2017-01-11 19:14:41 -08:00
2017-12-11 17:11:22 -08:00
2018-01-23 08:14:26 -06:00
2018-05-08 08:26:17 +02:00
2017-02-13 08:03:40 +01:00
2018-07-22 11:43:13 -07:00
2017-03-18 12:11:56 -07:00
2018-08-10 10:59:26 -07:00
2018-09-08 10:45:18 -07:00
2018-09-04 15:15:50 -07:00