Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | enforce a depth limit on XML documents | Aaron Patterson | 2015-06-16 | 2 | -10/+12 |
| | | | | | | | | | | XML documents that are too deep can cause an stack overflow, which in turn will cause a potential DoS attack. CVE-2015-3227 Conflicts: activesupport/lib/active_support/xml_mini.rb | ||||
* | JDOM XXE Protection [CVE-2013-1856] | Ben Murphy | 2013-03-15 | 1 | -0/+6 |
| | | | | | Conflicts: activesupport/test/xml_mini/jdom_engine_test.rb | ||||
* | Revert "Used any? instead of length call" | Xavier Noria | 2011-11-28 | 2 | -2/+2 |
| | | | | | | | | | Reason: This is slower, and any? is not equivalent in the general case. See discussion in https://github.com/rails/rails/pull/3779 This reverts commit 20cbf8eddc3844126d20f1218f068889d17b0dcf. | ||||
* | Used any? instead of length call | Rahul P. Chaudhari | 2011-11-28 | 2 | -2/+2 |
| | |||||
* | Adding __content__ into XmlMini_JDOM | Arun Agrawal | 2011-05-27 | 1 | -1/+8 |
| | |||||
* | Using java_import instead of import. Need to do this with rake 0.9.0 #jruby | Arun Agrawal | 2011-05-24 | 1 | -6/+6 |
| | |||||
* | fixed a missing require that causes trouble when using AS in a non-rails env. | Nick Sutterer | 2011-01-18 | 5 | -1/+6 |
| | |||||
* | using a merge with a Hash[] rather than a loop to add SAX parsed attributes | Aaron Patterson | 2010-11-16 | 1 | -2/+1 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -1/+1 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | AS gem doesn't depend on nokogiri so shows a nicer error if users haven't ↵ | Santiago Pastorino | 2010-07-30 | 2 | -3/+13 |
| | | | | installed | ||||
* | Change returning with tap | Santiago Pastorino | 2010-07-25 | 1 | -1/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | edit pass: the names of Rails components have a space, ie, "Active Record", ↵ | Xavier Noria | 2010-06-14 | 1 | -1/+1 |
| | | | | not "ActiveRecord" | ||||
* | Provide a better error if the parsed REXML document has no root [#3803 ↵ | wycats | 2010-03-28 | 1 | -1/+7 |
| | | | | state:resolved] | ||||
* | adds missing requires for Object#blank? and Object#present? | Xavier Noria | 2010-03-28 | 2 | -0/+2 |
| | |||||
* | nokogiri.rb needs active_support/core_ext/object/blank | Xavier Noria | 2010-01-01 | 1 | -0/+1 |
| | |||||
* | libxml.rb needs active_support/core_ext/object/blank | Xavier Noria | 2010-01-01 | 1 | -0/+1 |
| | |||||
* | jdom.rb needs active_support/core_ext/object/blank | Xavier Noria | 2010-01-01 | 1 | -0/+2 |
| | |||||
* | make sure returning is available for the libxml extension | Xavier Noria | 2010-01-01 | 1 | -0/+1 |
| | |||||
* | Fixed some bugs and fixed some tests in new SAX-based XmlMini backends. | Willem van Bergen | 2010-01-01 | 2 | -8/+8 |
| | | | | | | [#3636 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Added SAX-based parser for XmlMini, using LibXML | Willem van Bergen | 2010-01-01 | 1 | -0/+84 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Added SAX-based parser for XmlMini, using Nokogiri. | Willem van Bergen | 2010-01-01 | 1 | -0/+82 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Code cleanup, bugfixes and speed improvements for the Nokogiri and LibXML ↵ | Willem van Bergen | 2010-01-01 | 2 | -110/+48 |
| | | | | | | | | XmlMini backends [#3641 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Added CDATA support to the XmlMini LibXML engine, adjusted whitespace ↵ | Jacob Lauemoeller | 2009-10-15 | 1 | -5/+8 |
| | | | | | | handling to closer match that of the REXML engine, and added a LibXML engine test Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | making nokogiri to hash less clever, more fast O_o | Aaron Patterson | 2009-09-17 | 1 | -20/+12 |
| | | | | | | [#2243 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Allow Nokogiri XmlMini backend to process cdata elements | Developer | 2009-09-17 | 1 | -1/+1 |
| | | | | | | [#3219 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | require reporting before attempting to "shush" | Joshua Peek | 2009-09-13 | 1 | -0/+1 |
| | |||||
* | Shush, rexml | Jeremy Kemper | 2009-09-13 | 1 | -1/+1 |
| | |||||
* | Merge docrails | Pratik Naik | 2009-07-25 | 3 | -3/+3 |
| | |||||
* | enable *real* IO parsing for the libxml, nokogiri and rexml backends [#2659 ↵ | Brian Lopez | 2009-06-09 | 3 | -16/+26 |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Add support for parsing XML and JSON from an IO as well as a string [#2659 ↵ | Brian Lopez | 2009-05-17 | 4 | -23/+39 |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | add JRuby-JDOM backend for XmlMini | Stephen Bannasch | 2009-04-26 | 1 | -0/+162 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 1 | -0/+2 |
| | |||||
* | Avoid need for Enumerable#sum extension | Jeremy Kemper | 2009-03-28 | 1 | -1/+3 |
| | |||||
* | Hide XmlMini backend details from rdoc | Jeremy Kemper | 2009-03-21 | 2 | -7/+7 |
| | |||||
* | adding more nokogiri tests and making the main rails tests pass | Aaron Patterson | 2009-03-10 | 1 | -7/+14 |
| | | | | | | [#2190 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Make it easier to swap XmlMini backends. Require Nokogiri >= 1.1.1 for ↵ | Jeremy Kemper | 2009-03-10 | 1 | -3/+6 |
| | | | | XmlMini backend tests. | ||||
* | Nokogiri backend for XmlMini | Aaron Patterson | 2009-03-10 | 1 | -0/+67 |
| | | | | | | [#2190 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Properly set up libxml includes. Don't include LibXML in toplevel. | Jeremy Kemper | 2009-03-10 | 1 | -7/+9 |
| | | | | [#2084 state:resolved] | ||||
* | Require libxml-ruby 0.9.4 or 0.9.7 pending a segfault bugfix for 1.0. | Jeremy Kemper | 2009-03-09 | 2 | -9/+11 |
| | | | | Delegate parsing to a switchable backend. | ||||
* | Revert "Revert "XmlMini supports different backend parsers, starting with ↵ | Jeremy Kemper | 2009-03-09 | 2 | -0/+237 |
| | | | | | | | | libxml"" Will change to require a known-working libxml-ruby. This reverts commit a995a738ca10f9bef023689df70d26aad8931b9a. | ||||
* | Revert "XmlMini supports different backend parsers, starting with libxml" | David Heinemeier Hansson | 2009-03-09 | 2 | -237/+0 |
| | | | | | | Spews a ton undefined method `default_keep_blanks=' for XML:Module errors. This reverts commit 822c41d69d9228c9912d29ac45155d3a16bb5c50. | ||||
* | XmlMini supports different backend parsers, starting with libxml | Bart ten Brinke | 2009-03-08 | 2 | -0/+237 |
[#2084 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> |