Feature #8648

unuse special global variable in erb/cgi methods

Added by Takeyuki FUJIOKA 9 months ago. Updated 9 months ago.

[ruby-core:56054]
Status:Closed
Priority:Normal
Assignee:Takeyuki FUJIOKA
Category:lib
Target version:2.1.0

Description

reference [Bug #8612]
the scope of regexp special global variable is changed from 2.0 to trunk.
I think better some methods should not use special global variable.


Related issues

Related to ruby-trunk - Bug #8612: nil in ERB::Util.url_encode Rejected 07/08/2013

Associated revisions

Revision 42013
Added by Takeyuki FUJIOKA 9 months ago

  • lib/erb.rb (ERB::Util#url_encode): Unuse regexp special global variable. [Feature #8648] Thanks to fotos.

Revision 42014
Added by Takeyuki FUJIOKA 9 months ago

  • lib/cgi/util.rb (CGI::Util#escape, unescape): Unuse regexp special global variable. [Feature #8648] Thanks to fotos.

History

#1 Updated by Takeyuki FUJIOKA 9 months ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r42013.
Takeyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • lib/erb.rb (ERB::Util#url_encode): Unuse regexp special global variable. [Feature #8648] Thanks to fotos.

Also available in: Atom PDF