Page MenuHomeIn-Portal Phabricator

INP-1836 - Don't serialize "SecurityEncrypter" class properties
ClosedPublic

Authored by alex on Feb 7 2023, 3:05 AM.

Details

Test Plan
  1. in IDE:
    1. open /index.php for editing
    2. replace $application->Run(); line with echo serialize($application->recallObject('SecurityEncrypter'));
    3. save changes
  2. in Web Browser:
    1. open the /index.php file (the Front-End)
    2. confirm, that encryptionKey property isn't shown as a serialization result

Diff Detail

Repository
rINP In-Portal
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

alex created this revision.Feb 7 2023, 3:05 AM
alex requested review of this revision.Feb 7 2023, 3:05 AM
erik accepted this revision.Feb 7 2023, 6:49 AM
This revision is now accepted and ready to land.Feb 7 2023, 6:49 AM
This revision was automatically updated to reflect the committed changes.