Module: CarrierWave::Utilities::Uri

Included in:
Storage::Fog::File, CarrierWave::Uploader::Url
Defined in:
lib/carrierwave/utilities/uri.rb

Constant Summary collapse

SAFE_STRING =

based on Ruby < 2.0’s URI.encode

URI::REGEXP::PATTERN::UNRESERVED + '\/'
UNSAFE =
Regexp.new("[^#{SAFE_STRING}]", false)