Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use join instead of looping and calling to_s [#5492 state:resolved] | Thiago Pradi | 2010-09-01 | 1 | -3/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 5 | -65/+65 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Strip_tags never ending attribute should not raise a TypeError [#4870 ↵ | Bruno Michel | 2010-06-28 | 2 | -0/+2 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | regular expressions are usually ASCII-encoded, so force_encoding the content ↵ | wycats | 2010-06-07 | 1 | -0/+1 |
| | | | | of a Node to the encoding of the regular expression is wrong. | ||||
* | Flip deferrable autoload convention | Joshua Peek | 2009-12-22 | 1 | -12/+14 |
| | |||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications. | ||||
* | html-scanner uses Set and class_inheritable_accessor | Jeremy Kemper | 2009-05-30 | 1 | -0/+3 |
| | |||||
* | Ensure WhiteListSanitizer allows dl tag [#2393 state:resolved] | Jeffrey Chupp | 2009-05-17 | 1 | -1/+1 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Move bundled rack into ActionDispatch | Joshua Peek | 2009-04-14 | 50 | -4998/+0 |
| | |||||
* | Ensure our bundled version of rack is at the front of the load path | Joshua Peek | 2009-03-15 | 1 | -1/+1 |
| | |||||
* | Add Rack version to Rails info | Joshua Peek | 2009-03-14 | 1 | -2/+2 |
| | |||||
* | Update rack to fix multipart uploads with an empty file [#1945 state:resolved] | Joshua Peek | 2009-03-13 | 13 | -42/+98 |
| | |||||
* | Update bundled Rack to fix Litespeed compatibility [#2198 state:resolved] | Russ Smith | 2009-03-11 | 7 | -10/+25 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | update bundled version of rack before 2.3 final | Joshua Peek | 2009-03-10 | 10 | -11/+42 |
| | |||||
* | Ensure assert_select works with XML namespaced attributes [#1547 ↵ | Pratik Naik | 2009-03-07 | 1 | -1/+1 |
| | | | | state:resolved] [Jon Yurek] | ||||
* | Update bundled rack to fix more parameter parsing issues | Joshua Peek | 2009-02-14 | 2 | -12/+25 |
| | |||||
* | Reapply 0d5b3e6 | Joshua Peek | 2009-02-10 | 1 | -1/+1 |
| | |||||
* | Update vendored rack | Joshua Peek | 2009-02-10 | 5 | -9/+32 |
| | |||||
* | Make sure vendored rack is at the front of the load path | Joshua Peek | 2009-02-10 | 1 | -2/+1 |
| | |||||
* | Update bundled Rack for Ruby 1.9 spec changes | Joshua Peek | 2009-02-07 | 10 | -25/+29 |
| | |||||
* | Temporarily bundle Rack 1.0 prerelease for testing | Joshua Peek | 2009-02-07 | 48 | -0/+4857 |
| | |||||
* | Depend on rack 0.4.0 instead of vendoring it | Joshua Peek | 2008-11-25 | 41 | -4225/+0 |
| | |||||
* | Ensure all HTML:: constants are available to autoload [#1462 state:resolved] | Craig Davey | 2008-11-25 | 1 | -1/+8 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Autoload HTML::Document and sanitizers | Jeremy Kemper | 2008-11-23 | 1 | -0/+9 |
| | |||||
* | Use a relative require for bundled rack lib | Jeremy Kemper | 2008-11-22 | 1 | -1/+2 |
| | |||||
* | Vendor rack 0.4.0 | Joshua Peek | 2008-11-22 | 41 | -0/+4224 |
| | |||||
* | Fixed the sanitize helper to avoid double escaping already properly escaped ↵ | David Heinemeier Hansson | 2008-11-06 | 1 | -1/+1 |
| | | | | entities [#683 state:committed] | ||||
* | Fix incorrect closing CDATA delimiter. Add tests for CDATA nodes. | Jeffrey Hardy | 2008-10-23 | 1 | -1/+1 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix that HTML::Node.parse would blow up on unclosed CDATA sections. | Jeffrey Hardy | 2008-10-23 | 1 | -1/+8 |
| | | | | | | | | If an unclosed CDATA section is encountered and parsing is strict, an exception will be raised. Otherwise, we consider the remainder of the line to be the section contents. This is consistent with HTML::Tokenizer#scan_tag. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Merge with docrails. | Pratik Naik | 2008-07-16 | 1 | -2/+2 |
| | |||||
* | Patched HTML::Document#initialize call to Node.parse so that it includes the ↵ | Jimmy Baker | 2008-06-24 | 1 | -1/+1 |
| | | | | strict argument. [#330] | ||||
* | Fixed HTML::Tokenizer (used in sanitize helper) didnt handle unclosed CDATA ↵ | David Heinemeier Hansson | 2008-03-28 | 1 | -1/+1 |
| | | | | | | tags (closes #10071) [esad, packagethief] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix HTML Sanitizer to allow trailing spaces in CSS style attributes. Closes ↵ | Rick Olson | 2007-12-23 | 1 | -2/+2 |
| | | | | | | #10566 [wesley.moxam] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8485 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Removed some of the tags that does not make sense to allow per default in ↵ | David Heinemeier Hansson | 2007-12-04 | 1 | -2/+2 |
| | | | | | | the whitelist git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8269 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Refactor sanitizer helpers into HTML classes and make it easy to swap them ↵ | Rick Olson | 2007-11-26 | 2 | -0/+174 |
| | | | | | | out with custom implementations. Closes #10129. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed spelling errors (closes #9706) [tarmo/rmm5t] | David Heinemeier Hansson | 2007-09-28 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | [html-scanner] Fix parsing of empty tags. Closes #7641. [anthony.bailey] | Michael Koziarski | 2007-09-21 | 1 | -0/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7528 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Back out of [7300] -- it screwed up nested XML | David Heinemeier Hansson | 2007-08-21 | 1 | -3/+0 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7357 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ignore processing instructions when parsing html | Michael Koziarski | 2007-08-10 | 1 | -0/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7300 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Removed ill faded xml_node class from codebase. Use XmlSimple instead | Tobias Lütke | 2007-04-09 | 1 | -97/+0 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6511 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add much-needed html-scanner tests. Fixed CDATA parsing bug. [Rick] | Rick Olson | 2007-02-04 | 1 | -3/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Use a consistent load path to avoid double requires. Fix some scattered Ruby ↵ | Jeremy Kemper | 2007-01-28 | 2 | -9/+13 |
| | | | | | | warnings. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Nodoc the irrelevant (from 1.2) | David Heinemeier Hansson | 2007-01-26 | 1 | -1/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix HTML::Node to output double quotes instead of single quotes. Closes ↵ | Rick Olson | 2006-12-14 | 1 | -1/+1 |
| | | | | | | #6845 [mitreandy] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix assert_tag so that :content => "foo" does not match substrings, but only ↵ | Jamis Buck | 2006-09-10 | 1 | -1/+1 |
| | | | | | | exact strings. Use :content => /foo/ to match substrings. closes #2799 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5086 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added assert_select* for CSS selector-based testing (deprecates assert_tag) ↵ | David Heinemeier Hansson | 2006-09-03 | 2 | -0/+823 |
| | | | | | | #5936 [assaf.arkin@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4929 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Cleanup assert_tag :children counting. Closes #2181. | Jeremy Kemper | 2006-09-03 | 1 | -1/+0 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4915 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added Hash.create_from_xml(string) which will create a hash from a XML ↵ | David Heinemeier Hansson | 2006-06-16 | 1 | -1019/+0 |
| | | | | | | string and even typecast if possible [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | allow -'s in tag names for html scanner when scanning AR xml documents | Rick Olson | 2006-04-22 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4251 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed docs | David Heinemeier Hansson | 2006-03-28 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4079 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |