Sha256: fe75b0eae6e3f357c0d4bc025f7d02b8ce435cb614b12067349534fc165d345f
Contents?: true
Size: 281 Bytes
Versions: 3
Compression:
Stored size: 281 Bytes
Contents
# frozen_string_literal: true require 'jellyfish' require 'uri' module Jellyfish module NormalizedPath def path_info path = URI.decode_www_form_component(super, Encoding.default_external) if path.start_with?('/') then path else "/#{path}" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jellyfish-1.4.0 | lib/jellyfish/normalized_path.rb |
jellyfish-1.3.1 | lib/jellyfish/normalized_path.rb |
jellyfish-1.3.0 | lib/jellyfish/normalized_path.rb |