Module: URI

Defined in:
lib/dircat/extensions.rb,
lib/simple_cataloger_dm/core/extensions.rb

Class Method Summary collapse

Class Method Details

.parse_with_safety(uri) ⇒ Object



19
20
21
# File 'lib/dircat/extensions.rb', line 19

def parse_with_safety(uri)
  parse_without_safety uri.gsub('[', '%5B').gsub(']', '%5D')
end