Skip to content

Conversation

@mokevnin
Copy link
Member

@mokevnin mokevnin commented Feb 6, 2026

Summary

  • replace CGI.parse usage in query decoding with URI.decode_www_form
  • keep output shape as Hash<String, Array<String>>

Why

Ruby 4 does not provide CGI.parse as a class method in this environment, causing client initialization/request path parsing to fail with NoMethodError.

Scope

  • runtime fix only
  • no tests added (as requested)

@mokevnin mokevnin merged commit fabac82 into Hexlet:main Feb 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant