repo.or.cz
/
htmlpurifier
/
darkodev.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Remove some unnecessary pass-by-reference.
2013-10-17
Edward Z
.
Yang
Remove so
m
e unne
c
essary
p
ass-by-refere
n
ce
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-10-17
Edwa
r
d
Z
.
Yang
Remov
e
PHP 4
compat
i
bility hack
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-10-13
E
dward
Z
.
Yang
Use a Zipper to proces
s
Ma
k
eWell
F
ormed, r
e
moving quadr
a
tic
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-10-13
E
dw
a
rd
Z
.
Yang
Properly
handle context variables that
are NULL
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-10-13
Edwa
r
d Z
.
Yang
Im
p
lementation of a Zipper, for e
f
fi
c
ient s
p
l
ice
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-10-13
Edward Z
.
Yang
Impro
v
e gitignore
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-09-17
Edw
a
rd Z
.
Yang
Fix quadratic b
e
havior i
n
DOMLex due to arra
y
_s
h
ift
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-09-14
E
d
ward Z
.
Yang
Properly
use HMAC f
o
r
s
ec
u
re mung
i
ng
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-07-27
Edward Z
.
Yang
T
i
ghte
n
up invariants
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-07-27
Edwa
r
d Z
.
Yan
g
Explicit
l
y specify decorator na
m
e
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-07-27
Edwa
r
d
Z
.
Yang
New di
r
ect
i
ve %C
o
re
.
AllowHost
n
ameUnderscore
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-07-18
Edw
a
rd Z
.
Ya
n
g
A
dd note f
a
ll t
h
roug
h
is intenti
o
nal
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-06-06
E
d
w
a
r
d Z
.
Yang
Make list nesting test mo
r
e
s
en
s
itive
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-05-22
Ed
w
ar
d
Z
.
Y
a
ng
Use info_
p
arent_def to get
p
arent information, since
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-05-21
Ed
w
a
r
d Z
.
Y
a
ng
Ignore co
m
mas a
n
d n
b
sps for linkifica
t
ion
.
Thanks nAS
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-05-18
Edw
a
rd Z
.
Yang
Doc fix
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-04-16
Ed
w
ard Z
.
Yang
M
a
ke
U
RI parsi
n
g al
g
o
r
ithm more stri
c
t
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-02-21
Edward Z
.
Yan
g
Fix N
E
WS entry
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-02-18
Ed
w
ard
Z
.
Y
ang
Release 4
.
5
.
0
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-02-17
Ed
w
ard Z
.
Yang
Add
%
Core
.
DisableExcludes direct
i
ve
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-10-27
Edw
a
rd Z
.
Y
a
n
g
Use SHA-1 ins
t
ead of MD5
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-10-27
Edward Z
.
Yan
g
Blacklist more tags
f
rom RemoveEmpty
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-10-27
Edward Z
.
Yang
Clean
u
p
after data v
a
li
d
ation
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-10-27
Edward
Z
.
Yang
Do
c
heck
s
against ico
n
vAvailabl
e
bec
a
use PHP 5
.
4 has
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-10-11
Edward
Z
.
Yang
Comment
for bug
t
hat needs
t
o g
e
t fix
e
d
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-10-11
Edward Z
.
Y
a
ng
CSS properties page-break-
*
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-07-30
Edward Z
.
Yang
F
ix bug w
i
th
n
o
n
-lowe
r
case color names in
HTML
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-07-27
Edward Z
.
Yang
P
ermit u
n
derscores in
f
o
nt-fam
i
l
i
es
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-06-16
Edward Z
.
Yang
M
o
r
e supp
o
rt for wh
i
te-space
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-06-02
Edward Z
.
Yang
Don't lower-c
a
se components of
b
ackground
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-05-26
Edward Z
.
Yang
Sup
p
ort for inlin
e
-block
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-05-15
Edward Z
.
Yang
F
i
x i
n
A
t
t
r
Transform_Nofollow
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-05-02
Edward Z
.
Yang
Use prepend for a
u
toloading
o
n PHP 5
.
3+
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-04-27
Edward Z
.
Yang
Supp
o
rt for safe ext
e
r
n
a
l scripts v
i
a explicit wh
i
teli
s
t
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-03-17
Ed
w
ard Z
.
Yang
Fix
problem
w
here stacked A
t
t
rT
r
ansfor
m
s clobber each
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-03-02
Edward Z
.
Yang
Actu
a
lly ma
k
e URI
.
DisableResources do
s
omethin
g
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-02-18
Edward Z
.
Yang
Bug
f
ix: _bl
a
nk not bl
a
nk
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-01-25
Edwar
d
Z
.
Yang
Up
d
ate NEWS
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-01-19
Edward Z
.
Y
ang
Releas
e
4
.
4
.
0
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-01-18
Ed
w
ar
d
Z
.
Yang
M
a
k
e
all of the tests wor
k
on all PHP v
e
rsions
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-01-18
E
d
w
a
rd Z
.
Yang
Avoid doing st
u
pidly clever ref
l
ection
t
ricks that
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-01-18
E
d
ward
Z
.
Yang
M
o
der
n
ize some of the
testing facilitie
s
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-01-17
Edwar
d
Z
.
Yang
Tighter C
S
S selector validation
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-01-06
Edward Z
.
Yang
Remark
abou
t
by
p
ass
i
ng
host l
i
st w
i
t
h
punycode
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-01-06
Edward
Z
.
Yang
Optional s
u
p
port for IDN
A
s wi
t
h PEAR Net_IDNA2
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-01-03
Edward Z
.
Yang
R
emove PEARSa
x
3 lexer
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-30
Edward
Z
.
Y
a
n
g
Make forms
work f
o
r trans
i
tional doctype
s
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-27
Edwa
r
d
Z
.
Ya
n
g
Remove
i
ns
c
rutab
l
e TODO, optionalize ano
t
her
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-27
Edwa
r
d Z
.
Yang
A
dd note about su
p
erseding
mo
d
u
l
es i
n
T
ODO
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-26
Edwar
d
Z
.
Yang
Bump m
i
no
r
version number to
4
.
4
.
0
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-26
Edwar
d
Z
.
Yang
A
dd test for
i
nvali
d
Sa
f
eIframe usage
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Yan
g
Add more attributio
n
s
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-26
Ed
w
a
r
d Z
.
Yan
g
Implement %HTML
.
Allowed
C
omme
n
ts and %
H
TML
.
A
l
l
owe
d
C
ommentsRegexp
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Y
ang
Fix broken table content model, easily seen in
X
HTML1
.
1
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Yang
Properly
h
andle nest
e
d sublists b
y
foldin
g
into prev
i
o
u
s
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Yang
Implement
%HT
M
L
.
TargetBlank
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-25
Edw
a
rd Z
.
Yang
A
dd isBe
n
ign and getD
e
faul
t
Scheme
methods
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-25
Edward
Z
.
Yan
g
A
dd a little bit of docu
m
en
t
ation ab
o
ut
contexts
f
or
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-25
Edwa
r
d Z
.
Yang
Core
.
E
s
c
ap
e
Non
A
SCI
I
Characters
now always wo
r
ks
,
even
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-25
E
dwar
d
Z
.
Yang
A
dd support for scope attrib
u
te
on td and th
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-25
E
dwa
r
d
Z
.
Y
ang
Add
o
n
e
more test for SPL au
t
olo
a
d d
e
faults
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-25
Edward
Z
.
Yang
Fix iconv
truncation
b
ug
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-18
Edward Z
.
Yang
R
e
mo
v
e
spurious abs
t
ract defin
i
tion; PHP 5
.
4 doesn
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-18
Edward
Z
.
Yang
Don't u
n
set p
a
rser variable; plays p
o
orly with serialize
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-08-24
Edward Z
.
Yang
Ty
p
ofix
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-08-24
Edwar
d
Z
.
Yang
D
o
n't a
d
d nofollow
f
or matchin
g
hosts
,
generalize this
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-08-24
Ed
w
ard
Z
.
Y
a
ng
Update INSTALL to avoid
missing co
n
fig
snafu, upd
a
te
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-08-24
E
dward Z
.
Yang
Do not duplicate
nofollow a
t
t
r
ibute in t
r
a
nsform
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-04-19
Ed
w
ar
d
Z
.
Yang
Ex
p
licit
l
y i
n
itialize anon
M
odule
t
o null
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-04-10
Edward Z
.
Yang
URI
.
Munge munges
h
ttp
s
to http URIs
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-04-10
Edward Z
.
Yang
Color keywords now case-insensitive
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-03-27
Edward Z
.
Yang
Release 4
.
3
.
0
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-03-27
Edward Z
.
Yang
Fix CSS URL
i
nnerHTML/cssText
e
scaping
bug
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-03-27
Edward
Z
.
Yang
Protect against font
f
amily inne
r
HTML
/
cssTe
x
t attacks
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-03-27
Edward Z
.
Y
ang
Fi
x
Internet
E
x
plo
r
er i
n
ne
r
HTML bug
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-03-24
Edward Z
.
Y
a
ng
Implement CSS
.
Al
l
owedFonts
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-03-22
Edw
a
r
d Z
.
Y
ang
Don't autoclose if no parents support the
tag
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-03-21
E
dward Z
.
Y
ang
Safety u
p
date
for ne
s
ted ul test
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-03-17
E
dward Z
.
Yang
F
i
x
E_NOTICE from indexing into
empty string
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-02-27
Edw
a
rd Z
.
Yang
Fix missin
g
numeric entities (shows up whe
n
Direct
L
exi
n
g)
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-01-25
E
d
ward
Z
.
Yan
g
Dramatically
rewri
t
e null
h
ost URI
h
a
n
d
li
n
g
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-01-22
E
d
ward Z
.
Y
a
n
g
Fix em
b
e
d
d
ing flash
o
n non-I
E
b
r
o
wsers and
a
llow more
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-01-14
Edw
a
rd Z
.
Yang
Bump version number
f
or Cache
.
Se
r
i
a
li
z
erPermissions
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-01-13
Edward
Z
.
Yang
Check tha
t
argv i
s
set before ope
r
ating on i
t
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-12-31
Edw
a
rd Z
.
Yang
Fix ba
d
i
n
te
r
action
betw
e
en
bootst
r
ap auto
l
oader
and
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-12-30
Edw
a
rd
Z
.
Y
ang
Fix two bug
s
with
c
a
ching
of
c
u
stomized r
a
w definitions
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-11-21
Edward
Z
.
Yang
U
pdate PHPT
instructions
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-11-12
Edward Z
.
Yang
A
dd initial
imple
m
entation of CSS
.
Tr
u
sted
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-11-12
Edward Z
.
Y
a
ng
Ad
d
s
anity check against
z
e1_com
p
atibilit
y
_mo
d
e
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-11-12
Edward Z
.
Ya
n
g
Fix incorr
e
ct PEARSax3 tes
t
assertion
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-10-29
E
d
w
ard Z
.
Yang
Ch
e
ck if s
c
hema
.
s
er was cor
r
upted
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-10-28
Edward Z
.
Yang
Fix removal of id with
D
irectLe
x
by p
r
eserving
a
rmor
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-09-28
Edwa
r
d Z
.
Ya
n
g
E
s
cape
CDATA be
f
or
e
handl
i
ng conditional comments
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-09-28
Edwar
d
Z
.
Yang
Impleme
n
t
HTML
.
Nofollow for ex
t
ernal links
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-09-28
Edward Z
.
Yang
Make
I
E conditional comme
n
t matching ungre
e
dy
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-09-15
Ed
w
ard
Z
.
Yang
Releas
e
4
.
2
.
0
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-09-15
Edward Z
.
Yang
Rename
n
ewline norma
l
ization directi
v
e to somethi
n
g
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-09-15
Edw
a
rd Z
.
Yang
Shift
to 4
.
2
.
0 rel
e
ase cycle
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-09-09
Edw
a
r
d
Z
.
Yang
Add support for file:// URI s
c
heme
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-09-09
E
dward Z
.
Yang
U
pdate TOD
O
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
next