Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8ce11c51f5
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (30 sloc) 1.145 kb
package = "XSSFilter"
version = "9.02.15-0"
source = {
url = "http://spu.tnik.org/files/xssfilter-9.02.15.tar.gz",
}
description = {
summary = "A filter to prevernt cross-site scripting (XSS) attacks",
detailed = [===[ XSSFilter is a module for filtering out unsafe tags from (X)HTML.
To avoid having second-guessing how different clients handle strange
HTML input, the filter assumes that the input is subset of valid XML
and returns nil if the input doesn't parse. If the input does parse,
we then traverse the tree and check each element and its attributes
against a configuration table, replacing anything that's not allowed
with a message. There is a default configuration table that shoots
for a balance between security and features, but the client can either
supply their own or modify the default.
]===],
license = "MIT/X11",
homepage = "http://spu.tnik.org/lib/xssfilter/",
maintainer = "Yuri Takhteyev (yuri@freewisdom.org)",
}
dependencies = {
}
build = {
type = "none",
install = {
lua = { ["xssfilter"] = "lua/xssfilter.lua",
}
}
}
Jump to Line
Something went wrong with that request. Please try again.