Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (1h)  pkgsrc-2024Q1 (11d)  pkgsrc-2023Q4 (57d)  pkgsrc-2023Q2 (90d)  pkgsrc-2023Q3 (169d) 

2024-05-28 14:58:46 UTC Now

2021-08-30 15:38:03 UTC MAIN commitmail json YAML

www/ruby-rails-html-sanitizer: udpate to 1.4.2

1.4.0 (2021-08-18)

* Processing Instructions are no longer allowed by Rails::Html::PermitScrubber

  Previously, a PI with a name (or "target") matching an allowed tag name
  was not scrubbed. There are no known security issues associated with these
  PIs, but similar to comments it's preferred to omit these nodes when
  possible from sanitized output.

  Fixes #115.

  Mike Dalessio

1.4.1 (2021-08-18)

* Fix regression in v1.4.0 that did not pass comment nodes to the scrubber.

  Some scrubbers will want to override the default behavior and allow
  comments, but v1.4.0 only passed through elements to the scrubber's
  keep_node? method.

  This change once again allows the scrubber to make the decision on comment
  nodes, but still skips other non-elements like processing instructions
  (see #115).

  Mike Dalessio

1.4.2 (2021-08-23)

* Slightly improve performance.

  Assuming elements are more common than comments, make one less method call
  per node.

(taca)