Class: Rails::Auth::X509::Filter::PemUrlencoded

Inherits:
Pem
  • Object
show all
Defined in:
lib/rails/auth/x509/filter/pem_urlencoded.rb

Overview

Extract OpenSSL::X509::Certificates from Privacy Enhanced Mail (PEM) certificates that are URL encoded ($ssl_client_escaped_cert from Nginx).

Instance Method Summary collapse

Instance Method Details

#call(encoded_pem) ⇒ Object



10
11
12
# File 'lib/rails/auth/x509/filter/pem_urlencoded.rb', line 10

def call(encoded_pem)
  super(URI.decode_www_form_component(encoded_pem))
end