Sha256: b2efd4329e3807074225208a6bc9444f8646cd948b064d79181b03759160a188

Contents?: true

Size: 1.05 KB

Versions: 68

Compression:

Stored size: 1.05 KB

Contents

= Known issues with Rack and ECMA-262

* Many users expect the escape() function defined in ECMA-262 to be compatible
  with URI. Confusion is especially strong because the documentation for the
  escape function includes a reference to the URI specifications. ECMA-262
  escape is not however a URI escape function, it is a javascript escape
  function, and is not fully compatible. Most notably, for characters outside of
  the BMP. Users should use the more correct encodeURI functions.

= Known issues with Rack and Web servers

* Lighttpd sets wrong SCRIPT_NAME and PATH_INFO if you mount your
  FastCGI app at "/".  This can be fixed by using this middleware:

    class LighttpdScriptNameFix
      def initialize(app)
        @app = app
      end

      def call(env)
        env["PATH_INFO"] = env["SCRIPT_NAME"].to_s + env["PATH_INFO"].to_s
        env["SCRIPT_NAME"] = ""
        @app.call(env)
      end
    end

  Of course, use this only when your app runs at "/".

  Since lighttpd 1.4.23, you also can use the "fix-root-scriptname" flag
  in fastcgi.server.

Version data entries

68 entries across 60 versions & 19 rubygems

Version Path
rack-1.3.9 KNOWN-ISSUES
backbone-deep-rails-0.0.1 vendor/bundle/gems/rack-1.4.3/KNOWN-ISSUES
rack-1.5.0.beta.1 KNOWN-ISSUES
challah-0.9.1.beta vendor/bundle/gems/rack-1.4.3/KNOWN-ISSUES
rack-1.4.3 KNOWN-ISSUES
rack-1.3.8 KNOWN-ISSUES
rack-1.4.2 KNOWN-ISSUES
rack-1.3.7 KNOWN-ISSUES