Flowdock
method

escape_skipping_slashes

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActiveSupport::CoreExtensions::CGI::EscapeSkippingSlashes
escape_skipping_slashes(str) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb, line 5
        def escape_skipping_slashes(str)
          str = str.join('/') if str.respond_to? :join
          str.gsub(/([^ \/a-zA-Z0-9_.-])/n) do
            "%#{$1.unpack('H2').first.upcase}"
          end.tr(' ', '+')
        end
Register or log in to add new notes.