Commit bbaa093
authored
Only load what is required from
In Ruby 3.5 most of the `cgi` gem will be removed. Only the various escape/unescape methods will be retained by default.
On older versions, `require "cgi/util"` is needed because the unescape* methods don't work otherwise.
https://bugs.ruby-lang.org/issues/21258cgi (#1623)1 parent fa9424b commit bbaa093
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments