Skip to content

Conversation

@joshwetzel
Copy link

@joshwetzel joshwetzel commented Feb 1, 2026

Ruby 4.0 removed the full CGI library from the standard library, which produces a warning. Since the code only uses CGI.escape, we can require cgi/escape instead of the full cgi library. This provides just the escape/unescape functionality and is compatible with both Ruby 3.x and 4.x.

warning: CGI library is removed from Ruby 4.0. Please use cgi/escape instead for
CGI.escape and CGI.unescape features

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

Successfully merging this pull request may close these issues.

1 participant