Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New rubygems release needed for fix in request #53

Open
Deconstrained opened this issue Aug 9, 2024 · 0 comments
Open

New rubygems release needed for fix in request #53

Deconstrained opened this issue Aug 9, 2024 · 0 comments

Comments

@Deconstrained
Copy link

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(/\//)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant