Overview

Request 1010042 accepted

updated to version 7.0.4
see installed CHANGELOG.md
## Rails 7.0.4 (September 09, 2022) ##

* Guard against `ActionView::Helpers::FormTagHelper#field_name` calls with nil
`object_name` arguments. For example:

```erb
<%= fields do |f| %>
<%= f.field_name :body %>
<% end %>
```

*Sean Doyle*

* Strings returned from `strip_tags` are correctly tagged `html_safe?`

Because these strings contain no HTML elements and the basic entities are escaped, they are safe
to be included as-is as PCDATA in HTML content. Tagging them as html-safe avoids double-escaping
entities when being concatenated to a SafeBuffer during rendering.

Fixes [rails/rails-html-sanitizer#124](https://github.com/rails/rails-html-sanitizer/issues/124)

*Mike Dalessio*

Request History
Stephan Kulow's avatar

coolo created request

updated to version 7.0.4
see installed CHANGELOG.md
## Rails 7.0.4 (September 09, 2022) ##

* Guard against `ActionView::Helpers::FormTagHelper#field_name` calls with nil
`object_name` arguments. For example:

```erb
<%= fields do |f| %>
<%= f.field_name :body %>
<% end %>
```

*Sean Doyle*

* Strings returned from `strip_tags` are correctly tagged `html_safe?`

Because these strings contain no HTML elements and the basic entities are escaped, they are safe
to be included as-is as PCDATA in HTML content. Tagging them as html-safe avoids double-escaping
entities when being concatenated to a SafeBuffer during rendering.

Fixes [rails/rails-html-sanitizer#124](https://github.com/rails/rails-html-sanitizer/issues/124)

*Mike Dalessio*


Saul Goodman's avatar

licensedigger accepted review

ok


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Stephan Factory Kulow's avatar

coolo-factory added openSUSE:Factory:Staging:adi:22 as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:22"


Stephan Factory Kulow's avatar

coolo-factory accepted review

Picked "openSUSE:Factory:Staging:adi:22"


Dominique Leuenberger's avatar

dimstar accepted review

ok


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:adi:22 got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:adi:22 got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:adi:22 got accepted.

openSUSE Build Service is sponsored by