cgi icon indicating copy to clipboard operation
cgi copied to clipboard

CGI library is removed from Ruby 3.5

Open rubyFeedback opened this issue 2 months ago • 0 comments

test.cgi:8: warning: CGI library is removed from Ruby 3.5.

Please use cgi/escape instead for CGI.escape and CGI.unescape features.

If you need to use the full features of CGI library, Please install cgi gem.

I am a bit confused right now. It seems no matter whether I have cgi installed, or not installed (the gem), I get the above message.

Is everyone sure that the message appears correctly? Should it even be shown?

I am especially confused about the "Please install cgi gem", because I have done so. But I still see this message in the lighttpd logs.

rubyFeedback avatar Oct 04 '25 23:10 rubyFeedback