[#76442] [Ruby trunk Feature#11741] Migrate Ruby to Git from Subversion — naruse@...
Issue #11741 has been updated by Yui NARUSE.
3 messages
2016/07/19
[#76515] [Ruby trunk Bug#12610] webrick: protect from httpoxy — nagachika00@...
Issue #12610 has been updated by Tomoyuki Chikanaga.
3 messages
2016/07/22
[ruby-core:76514] [Ruby trunk Bug#12609][Closed] rexml attribute class is using "e instead of " when replacing " for the XML character entity "
From:
kou@...
Date:
2016-07-22 01:43:56 UTC
List:
ruby-core #76514
Issue #12609 has been updated by Kouhei Sutou. Status changed from Open to Closed Assignee set to Kouhei Sutou Good catch! I've applied your patch at r55726. ---------------------------------------- Bug #12609: rexml attribute class is using "e instead of " when replacing " for the XML character entity " https://bugs.ruby-lang.org/issues/12609#change-59757 * Author: Joseph Marrero * Status: Closed * Priority: Normal * Assignee: Kouhei Sutou * ruby -v: * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- lib/rexml/attribute.rb to_string method is using "e instead of " when replacing double quotes. https://www.w3.org/standards/xml/core States: " In XML, there are only five built-in character entities: <, >, &, " and ' for <, >, &, " and ' respectively. " Notice it is " and not "e Also here is an exaple (http://www.w3schools.com/xml/xml_attributes.asp) on how to use quotes, notice ", ' and " are mentioned not "e this follows the above spec. The included patch fixes the simple issue. ---Files-------------------------------- quot-change.patch (557 Bytes) -- 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>