Module: Certmeister
- Defined in:
- lib/certmeister/rack/symbolic_hash_accessor.rb,
lib/certmeister/rack/app.rb,
lib/certmeister/rack/self_test_app.rb
Overview
Light-weight alternative to active_support’s HashWithIndifferentAccess.
The rack application must not symbolize params from the client, because symbols cannot be garbage-collected, and so provide a memory starvation attack.
So instead we wrap the parameters with a symbolic accessor, so that Certmeister::Base and Certmeister::Policy::* can refer to parameters symbolically.
Defined Under Namespace
Modules: Rack