[#94657] [Ruby master Feature#16131] Remove $SAFE, taint and trust — naruse@...
Issue #16131 has been reported by naruse (Yui NARUSE).
3 messages
2019/08/29
[ruby-core:94218] [Ruby master Bug#16091] sub
From:
thiaguerd@...
Date:
2019-08-09 10:10:10 UTC
List:
ruby-core #94218
Issue #16091 has been reported by thiaguerd (thiago feitosa). ---------------------------------------- Bug #16091: sub https://bugs.ruby-lang.org/issues/16091 * Author: thiaguerd (thiago feitosa) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: 2.6.2p47 (2019-03-13 revision 67232) [x86_64-linux] * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- ``` a = "test ?" b = "?" c = "\\&" a.gsub(b,c) ``` -- 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>