cgi icon indicating copy to clipboard operation
cgi copied to clipboard

CGI is a large class, providing several categories of methods, many of which are mixed in from other modules.

Results 20 cgi issues
Sort by recently updated
recently updated
newest added

I looked at the following 2 specifications and got the following information: [2.2](https://www.rfc-editor.org/rfc/rfc2616#section-2.2) Basic Rules ![image](https://user-images.githubusercontent.com/103323735/210922501-8bfdb1c6-d4e6-4d30-93ca-62d7ccc92cf4.png) [4.1.1](https://www.rfc-editor.org/rfc/rfc6265#section-4.1.1). Syntax ![image](https://user-images.githubusercontent.com/103323735/210922671-bf2a90ee-a41b-4599-94b7-8a18d929e77e.png) The token and path cannot contain CTL. The regular expressions of...

The test added in 107a0c67f922044dc78e2fde94f991206267a6a0 contains a test that uses `**h* to merge two string hashes. This does not work under Ruby 2.6 and earlier, making it impossible to test...

There's no branch to apply this to, but it was based on the v0.1.0.2 tag (which also does not live on any branch). Once there are branches for maintenance releases,...

We were informed today of the new CVE-2021-33621 and want to update the copy of cgi shipped with JRuby 9.3. Unfortunately Ruby 2.6 has not been patched and I cannot...

ext/cgi/escape.c uses C99 features, which cannot use before ruby 3.0. * Designated Initializers for `html_escape_table` * Variable declaration after code in `optimized_escape_html` The latter is easy to make C89-compliant but...

The class of `CGI.escapeHTML` result is not consistent for escaped/non-escaped cases. ```ruby require 'cgi/escape' class S {"a"=>S, "&"=>String} ``` Probably, should be `String` always?

The current logic around handling query params is flawed. Parameters are only drawn from the query string on GET or HEAD requests. https://github.com/ruby/cgi/blob/master/lib/cgi/core.rb#L661-L699

When a POST request is made without form data it may not have a Content-Length, in which case an error is formed on [this](https://github.com/ruby/cgi/blob/master/lib/cgi/core.rb#L681) line.

In some cases you may want to escape a string in a different way than the default behavior. For instance, if you are trying to make some JSON save to...

Bumps [rubygems/release-gem](https://github.com/rubygems/release-gem) from 1.1.1 to 1.1.2. Release notes Sourced from rubygems/release-gem's releases. v1.1.2 What's Changed Update example to opt out of persisting credentials by @​landongrindheim in rubygems/release-gem#19 Prevent credentials from...

dependencies
github_actions