Giter Site home page Giter Site logo

Calling "Rails::Html::SafeListSanitizer.new(prune: true)" results in "ArgumentError (unknown keyword: :prune)" about rails-html-sanitizer HOT 8 CLOSED

mayesgr avatar mayesgr commented on September 3, 2024 1
Calling "Rails::Html::SafeListSanitizer.new(prune: true)" results in "ArgumentError (unknown keyword: :prune)"

from rails-html-sanitizer.

Comments (8)

flavorjones avatar flavorjones commented on September 3, 2024 2

Hi @mayesgr, sorry for the confusion here. This feature isn't in a release yet -- see https://github.com/rails/rails-html-sanitizer/blob/master/CHANGELOG.md for that information.

I'll try to cut a release this week with this feature in it.

from rails-html-sanitizer.

jalada avatar jalada commented on September 3, 2024 1

Hey @flavorjones any sign of that release? We lost some time to the fact that the README is updated but the release is not. No worries if it's still stalled, but perhaps revert the changes to the README to avoid confusion for others?

from rails-html-sanitizer.

flavorjones avatar flavorjones commented on September 3, 2024 1

@jalada Thanks for the poke. I've been delaying because there's a security release that's close to shipping and I want to get that out before a feature release. If it doesn't come together in the next few days I'll ship the feature release.

from rails-html-sanitizer.

flavorjones avatar flavorjones commented on September 3, 2024

This is delayed a bit while I validate and triage a vulnerability report. Thanks for your patience.

from rails-html-sanitizer.

flavorjones avatar flavorjones commented on September 3, 2024

Security release is getting closer, apologies again for delaying this feature release.

from rails-html-sanitizer.

danbernier avatar danbernier commented on September 3, 2024

Hi there @flavorjones!

Echoing @jalada's comment - I've been trying to make this work at a rails console for a while, only to finally compare the gem source and the repo source, and spot the gap. Even if you just note in the README that it's not released yet, that would be helpful.

Obvi the best outcome would be for the pruning to be released. How's the security release coming?

Thank you for your maintenance work ❤️

from rails-html-sanitizer.

flavorjones avatar flavorjones commented on September 3, 2024

Thanks for the nudge. The security release went out last month but I didn't circle back to this feature release. I'll do that now!

from rails-html-sanitizer.

flavorjones avatar flavorjones commented on September 3, 2024

Done! https://github.com/rails/rails-html-sanitizer/releases/tag/v1.5.0

from rails-html-sanitizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.