
Security News
Rspack Introduces Rslint, a TypeScript-First Linter Written in Go
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
Any a web application needs the input filter.This gem help you protect your creature from XSS atacks and uncensored user communication (case web-application is forum).Differently it is your Deliverer from many,many problems..
Add this line to your application's Gemfile:
gem 'deliverer'
And then execute:
$ bundle
Or install it yourself as:
$ gem install deliverer
Delete all selected words in filtering text. Just write them in function arguments. (U may write so many argumentes as you need ) Every entrance every argumentes wil be deleted
Want learn more? See Usage -> Example_2
Replaces all selected words in filtering text 1st argument is word replaces 2nd,3rd etc argumentes in text (U may write so many argumentes as you need ) And every entrance every argumentes(except 1st) wil be replaced on value 1st argument. for example 1st argument may be - " [censored] " or "[Observe censorship] " or " (-_-) " or just "".
Want learn more? See Usage -> Example_2
1.Example:
x - censor var
x.filter
Congratulation! Henceforth you protect from XSS
2.Example:
if you want to filter user communication on your forum just
give block for last method and use functions forbid and censor in it.
x.filter do |check| check.forbid " fuck "," pecker " check.censor "[censored]"," dick " end
3.Example:
You may use one methods several times in block to code look normal.
It is ugly,isn`t it?
x.filter do |v| v.censor "\[censored\]"," dick "," any not correct word "," any curse "," fucking admin ", " 2nd not correct word "," 2 curse "," 3rd curse " end
More better
x.filter do censor "\[censored\]"," dick "," any not correct word " censor "\[censored\]"," any curse "," fucking admin " censor "\[censored\]"," 2nd not correct word "," 2 curse " censor "\[censored\]"," 3rd curse " end`
P.S. It would be beter if you`ll write forbid words beetwin spaces becourse it may be appear as part a normal word I mean:
1.- y r dick!
2.- in dicken`s cafe at 7pm
**after filtering(in example)**
1.- y r [censored]!
2.- in [censored]en`s cafe at 7 pm
git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that deliverer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.