-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrockspec
More file actions
31 lines (30 loc) · 1.12 KB
/
rockspec
File metadata and controls
31 lines (30 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package = "XSSFilter"
version = "10.12.28-0"
source = {
url = "http://spu.tnik.org/files/xssfilter-10.12.28.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",
}
}
}