RubyGems Navigation menu

safe_uri 0.1.0

SafeURI is an alternative implementation that allows you to open an URI with safer approach - with SafeURI.#open, you can always force to use URI.parse(url).open, or File.open(filename) depending on the provided argument. The pipe character '|' is NOT accepted as it does not delegate to Kernel.#open (falls back to File.#open), unlike URI.#open that falls back to Kernel.#open when un-openable arguments are given.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.0 - April 06, 2019 (8 KB)

Runtime Dependencies (1):

Development Dependencies (3):

bundler ~> 2.0
rake ~> 10.0
rspec ~> 3.0

Owners:

Authors:

  • Koji Onishi

SHA 256 checksum:

= Copy to clipboard Copied!

Total downloads 3,721

For this version 3,721

License:

MIT

Required Ruby Version: >= 2.3.0

Links: