Flowdock
method

escape_skipping_slashes

Importance_0
v3.0.5 - Show latest stable - 0 notes - Class: CGI
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 12
    def self.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.