Issue #14331 has been updated by shevegen (Robert A. Heiler).


I agree.

I assume that the most likely reason for the ancient style in CGI is that not many use CGI and probably not many maintain it.

The changes mentioned are very simple though. I had a look at:

  https://github.com/ruby/ruby/pull/1749/commits/9f684decc2f48c5010095309d7d2b1e2332ea553

and could not see any mistakes so perhaps it could be merged.

----------------------------------------
Misc #14331: change call CGI methods from :: to . 
https://bugs.ruby-lang.org/issues/14331#change-69404

* Author: artofhuman (Semyon Pupkov)
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Hi.
I think using :: for call methods for CGI class methods in documentation and core may cause confusion. 
I think is better to change this to standard way.
For example CGI::escapeHTML -> CGI.escapeHTML

plz see opened PR on Github https://github.com/ruby/ruby/pull/1749



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>