File rubygem-rack-CVE-2025-27111.patch of Package rubygem-rack-1_6.38595

Index: rack-1.6.8/lib/rack/sendfile.rb
===================================================================
--- rack-1.6.8.orig/lib/rack/sendfile.rb
+++ rack-1.6.8/lib/rack/sendfile.rb
@@ -135,7 +135,7 @@ module Rack
           end
         when '', nil
         else
-          env['rack.errors'].puts "Unknown x-sendfile variation: '#{type}'.\n"
+          env['rack.errors'].puts "Unknown x-sendfile variation: #{type.inspect}"
         end
       end
       [status, headers, body]
openSUSE Build Service is sponsored by