From 1bffba6d1e798825a00e0b754a62b5b3961a7363 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Tue, 10 May 2022 01:53:23 +0100 Subject: Tests: added test for "SCRIPT_NAME" variable in Ruby. --- test/ruby/variables/config.ru | 1 + 1 file changed, 1 insertion(+) (limited to 'test/ruby/variables/config.ru') diff --git a/test/ruby/variables/config.ru b/test/ruby/variables/config.ru index 55d01796..e335e049 100644 --- a/test/ruby/variables/config.ru +++ b/test/ruby/variables/config.ru @@ -8,6 +8,7 @@ app = Proc.new do |env| 'Request-Method' => env['REQUEST_METHOD'], 'Request-Uri' => env['REQUEST_URI'], 'Http-Host' => env['HTTP_HOST'], + 'Script-Name' => env['SCRIPT_NAME'], 'Server-Protocol' => env['SERVER_PROTOCOL'], 'Server-Software' => env['SERVER_SOFTWARE'], 'Custom-Header' => env['HTTP_CUSTOM_HEADER'], -- cgit