Skip to content

New rubygems release needed for fix in request #53

@Deconstrained

Description

@Deconstrained

The latest release, 0.11.2, elicits the following error in Ruby 3.1.2

     NoMethodError:
       undefined method `unescape' for URI:Module
     
             @path = URI.unescape(path).split(/\//)
                        ^^^^^^^^^
     # /home/********/.rubygems/gems/http_router-0.11.2/lib/http_router/request.rb:10:in `initialize'

The issue is already fixed on the main branch, we just need a new release that contains this fix --

https://github.com/joshbuddy/http_router/blob/master/lib/http_router/request.rb#L10

      @path = URI::DEFAULT_PARSER.unescape(path).split(/\//)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions