Loading src/EventSubscriber/ProxySubscriber.php +4 −2 Original line number Diff line number Diff line Loading @@ -226,10 +226,12 @@ class ProxySubscriber implements EventSubscriberInterface { } /** * Helper function to generate HTTP headers array * Helper function to generate HTTP headers array. * * @param $headers_string * Header string to break apart. * @return array * Any array for proxy headers. */ protected function createProxyHeadersArray($headers_string) { $lines = explode("\n", $headers_string); Loading src/Form/SettingsForm.php +1 −1 Original line number Diff line number Diff line Loading @@ -142,7 +142,7 @@ class SettingsForm extends ConfigFormBase { Use format like "Referer|http://example.com/'), '#required' => FALSE, '#config' => [ 'key' => 'stage_file_proxy.settings:proxy_headers' 'key' => 'stage_file_proxy.settings:proxy_headers', ], ]; Loading Loading
src/EventSubscriber/ProxySubscriber.php +4 −2 Original line number Diff line number Diff line Loading @@ -226,10 +226,12 @@ class ProxySubscriber implements EventSubscriberInterface { } /** * Helper function to generate HTTP headers array * Helper function to generate HTTP headers array. * * @param $headers_string * Header string to break apart. * @return array * Any array for proxy headers. */ protected function createProxyHeadersArray($headers_string) { $lines = explode("\n", $headers_string); Loading
src/Form/SettingsForm.php +1 −1 Original line number Diff line number Diff line Loading @@ -142,7 +142,7 @@ class SettingsForm extends ConfigFormBase { Use format like "Referer|http://example.com/'), '#required' => FALSE, '#config' => [ 'key' => 'stage_file_proxy.settings:proxy_headers' 'key' => 'stage_file_proxy.settings:proxy_headers', ], ]; Loading