Skip to content

Add Rails::HTML::Sanitizer.allowed_uri? delegating to Loofah#214

Merged
flavorjones merged 1 commit intomainfrom
add-allowed-uri
Feb 24, 2026
Merged

Add Rails::HTML::Sanitizer.allowed_uri? delegating to Loofah#214
flavorjones merged 1 commit intomainfrom
add-allowed-uri

Conversation

@flavorjones
Copy link
Member

Allow the Rails framework to check URI safety without a direct dependency on Loofah. Bump loofah dependency to ~> 2.25 for the new public allowed_uri? method.

@flavorjones flavorjones force-pushed the add-allowed-uri branch 2 times, most recently from 9fdf1db to 66beb21 Compare February 24, 2026 15:53
Allow the Rails framework to check URI safety without a direct
dependency on Loofah. Bump loofah dependency to ~> 2.25 for the
new public allowed_uri? method.
@flavorjones flavorjones merged commit ea9e7a4 into main Feb 24, 2026
14 checks passed
@flavorjones flavorjones deleted the add-allowed-uri branch February 24, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant