repo.or.cz
/
htmlpurifier.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Add conversion functions for our own tree format.
2013-10-20
Ed
w
ard Z
.
Y
a
ng
A
dd conve
r
sion
fu
n
ctions for our own tree
forma
t
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-17
Edward Z
.
Yang
Make the To
k
e
n
class
abst
r
act
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-17
Ed
w
ard Z
.
Yan
g
Remove some
u
n
n
e
c
essary pass-by-
r
e
ference
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-17
E
d
wa
r
d
Z
.
Yan
g
R
e
move PHP 4 com
p
ati
b
il
i
t
y hack
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
Edward Z
.
Yang
Use a Zipper to process
M
akeW
e
llFormed,
r
em
o
vin
g
quadrat
i
c
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
Edward Z
.
Yang
Properly
handle
con
t
ext
v
ariables that
a
r
e
NULL
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
Edward Z
.
Yan
g
I
mplementation
o
f a Zip
p
er, for effic
i
ent splice
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
E
dwa
r
d Z
.
Yan
g
Improve
g
i
t
ignore
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-09-17
E
dward Z
.
Yang
F
i
x qua
d
ratic behavior in DOML
e
x due to array_shift
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-09-14
Edward Z
.
Yang
Properly use HM
A
C
for
s
e
c
ure
m
unging
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-27
Ed
w
ard Z
.
Y
a
ng
T
i
gh
t
e
n up invaria
n
ts
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-27
Edward Z
.
Yang
Expl
i
citly specify decorator name
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-27
Edward Z
.
Yang
New directive
%
Core
.
AllowHostnameUndersco
r
e
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-18
E
d
ward Z
.
Y
ang
Add note fall
t
hrough is
i
nte
n
t
i
onal
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-06-06
E
dwa
r
d Z
.
Yang
M
a
k
e list nes
t
ing test
m
o
r
e sensitive
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-05-22
Ed
w
a
r
d
Z
.
Yang
Us
e
info_parent_def to
get parent
informatio
n
,
s
ince
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-05-21
Edw
a
rd Z
.
Yang
I
g
n
o
r
e commas and nbsps
for linkification
.
Thanks
nAS
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-05-18
Edward Z
.
Yang
Doc f
i
x
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-04-16
Edward Z
.
Y
a
ng
Make URI
parsing algorithm mo
r
e str
i
c
t
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-02-21
Edward Z
.
Ya
n
g
Fix NEWS entry
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-02-18
Edwa
r
d
Z
.
Yang
Relea
s
e 4
.
5
.
0
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-02-17
Edwar
d
Z
.
Yang
Add %Core
.
Di
s
ableExcludes directive
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-27
Ed
w
ard Z
.
Yang
Use SHA-1
ins
t
ead of MD5
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-27
E
d
wa
r
d Z
.
Ya
n
g
Blac
k
l
is
t
more tags
from Re
m
ove
E
mp
t
y
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-27
Edward
Z
.
Yang
Clean
u
p after dat
a
v
alidation
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-27
E
dward Z
.
Yang
Do
checks agains
t
ic
o
nvAvai
l
a
ble because PHP 5
.
4 has
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-11
Edwa
r
d Z
.
Yang
Comment for bug
t
h
at
needs to ge
t
f
ixed
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-11
Edwa
r
d Z
.
Yan
g
CSS properties
page-
b
reak-*
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-07-30
Edward
Z
.
Y
a
n
g
Fix bug
with non-lower case color names i
n
HTML
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-07-27
Edwar
d
Z
.
Yang
Permit und
e
rscores
in
font-famili
e
s
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-06-16
Edward Z
.
Yang
More
support for w
h
ite-sp
a
ce
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-06-02
E
dwar
d
Z
.
Yang
Do
n
't lower
-
case components of background
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-05-26
Edward Z
.
Yang
Support
for
inline
-
block
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-05-15
Edw
a
rd Z
.
Y
ang
Fix in A
t
tr
T
ransfo
r
m_Nofollow
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-05-02
E
dward Z
.
Yang
Use prepend for
a
ut
o
loading
on PHP 5
.
3+
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-04-27
E
dward
Z
.
Yang
S
u
pp
o
r
t
f
or safe externa
l
scripts vi
a
explicit whitelist
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-03-17
Edward Z
.
Yang
F
i
x pro
b
lem where s
t
ac
k
ed AttrTransforms clo
b
ber eac
h
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-03-02
Edward Z
.
Yang
Actually ma
k
e URI
.
DisableResou
r
c
e
s d
o
something
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-02-18
Edwar
d
Z
.
Yang
Bugfix: _bla
n
k n
o
t
b
lan
k
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-25
E
d
ward Z
.
Yan
g
Update NE
W
S
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-19
Edwa
r
d Z
.
Yang
Release 4
.
4
.
0
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-18
Edwar
d
Z
.
Yan
g
Ma
k
e a
l
l of the
t
e
sts work on
all P
H
P
versi
o
ns
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-18
Edward Z
.
Yang
Avoid d
o
i
ng s
t
upid
l
y
clev
e
r reflection tricks
that
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-18
Ed
w
ard Z
.
Yan
g
Moderniz
e
some of the tes
t
i
ng fa
c
iliti
e
s
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-17
Edward Z
.
Yang
T
i
ghter CSS se
l
ector
v
alidation
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-06
Edwar
d
Z
.
Yang
R
emark abou
t
bypassing host list with punycode
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-06
Edward Z
.
Yang
Optional support for IDNAs with PEAR
Net
_
IDN
A
2
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-03
Ed
w
ar
d
Z
.
Yang
Re
m
ove
P
EARSax3 le
x
er
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-30
Edward Z
.
Yang
Make fo
r
m
s wor
k
for transitio
n
al doctypes
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-27
Edw
a
rd Z
.
Ya
n
g
Remo
v
e inscrutable TODO
,
option
a
lize
a
nother
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-27
Edwa
r
d Z
.
Yang
Ad
d
note a
b
out
supe
r
seding modules
i
n
T
O
DO
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Y
ang
Bump
minor vers
i
o
n number to 4
.
4
.
0
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edwar
d
Z
.
Yang
Add test for i
n
v
al
i
d SafeIframe u
s
age
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
E
dward Z
.
Yang
Add more attributions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Y
a
ng
I
mplement %HTML
.
AllowedComments
a
nd %H
T
ML
.
Al
l
owed
C
o
m
m
en
t
sRegexp
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Yang
Fix broken table
c
o
ntent m
o
de
l
, ea
s
ily seen
i
n
X
HTML1
.
1
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
E
d
ward Z
.
Ya
n
g
Prop
e
r
l
y handle nes
t
ed sublists by fold
i
ng i
n
to previ
o
us
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edw
a
rd Z
.
Y
ang
Implem
e
n
t
%HTML
.
T
a
rgetBlan
k
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edward
Z
.
Yang
A
dd is
B
enign
and g
e
tDefa
u
ltScheme methods
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edward Z
.
Yang
Add a
little bit of d
o
cumentation about contexts for
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edward Z
.
Yang
Core
.
EscapeN
o
nASC
I
IC
h
aracte
r
s now alwa
y
s works, even
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
E
dward Z
.
Yang
Ad
d
sup
p
o
r
t fo
r
s
cope a
t
tribute on
t
d an
d
th
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
E
d
w
ard Z
.
Y
ang
Add one more test
for SPL
a
u
tolo
a
d defaults
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edward Z
.
Yang
Fi
x
i
con
v
tr
u
nc
a
tion bug
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-18
Edward
Z
.
Yang
Remove spurious
a
b
s
tract definition; P
H
P 5
.
4 doesn
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-18
Edw
a
r
d Z
.
Yang
D
on't
u
nset parser variable; play
s
poor
l
y
with serialize
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
E
d
ward
Z
.
Yan
g
Typofix
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
Edward Z
.
Yang
Don't add nofoll
o
w
f
or matching hosts, ge
n
eralize this
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
E
dward Z
.
Yang
Up
d
ate INST
A
LL to
a
void miss
i
ng config
snafu, update
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
Edw
a
rd Z
.
Y
a
ng
Do n
o
t duplicate nof
o
llow attribute in transform
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-04-19
Edward Z
.
Yang
Ex
p
lici
t
ly initia
l
ize an
o
nModul
e
to n
u
ll
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-04-10
Edward Z
.
Yang
U
R
I
.
M
unge munges https to htt
p
URIs
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-04-10
Edward Z
.
Yang
Color
keywords n
o
w case-in
s
ensitive
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-27
Edwa
r
d Z
.
Ya
n
g
R
e
lea
s
e 4
.
3
.
0
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-27
Edward Z
.
Yang
Fix C
S
S U
R
L in
n
erH
T
ML/cssText escaping bug
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-27
Edward
Z
.
Yan
g
Protect
a
gain
s
t font fa
m
ily innerHT
M
L/cssText attacks
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-27
Edward Z
.
Yang
Fix Internet Explorer in
n
erH
T
ML bug
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-24
Edw
a
rd Z
.
Yang
I
m
pl
e
ment CS
S
.
All
o
w
edFonts
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-22
Edw
a
rd Z
.
Yang
D
o
n't autoclose if
n
o parent
s
suppor
t
th
e
tag
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-21
Edward Z
.
Yang
Safety update for ne
s
te
d
ul test
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-17
Edward Z
.
Yang
Fix
E
_
NOTICE from
indexing into empty
s
tring
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-02-27
Edw
a
rd Z
.
Y
ang
Fix miss
i
ng numeric enti
t
ies (sh
o
w
s up when Dire
c
t
L
e
xi
n
g)
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-25
Edward Z
.
Yang
Dramatically r
e
write null host U
R
I handl
i
ng
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-22
Ed
w
ard Z
.
Y
ang
F
ix em
b
e
d
d
ing flash on non-IE bro
w
sers and allow more
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-14
Edward Z
.
Yang
B
ump version number f
o
r Cache
.
Se
r
i
alizerPermissio
n
s
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-13
E
dward
Z
.
Y
ang
Check that
a
r
g
v is set before
operating on
i
t
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-12-31
Edward Z
.
Yang
Fix bad intera
c
tion between
b
oot
s
trap auto
l
oader
a
nd
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-12-30
E
d
ward Z
.
Yan
g
Fix tw
o
bugs with cachi
n
g
o
f
customi
z
ed raw
d
efinitions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-11-21
Edwa
r
d
Z
.
Yang
Updat
e
PHP
T
instru
c
tions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-11-12
Edwar
d
Z
.
Yan
g
Ad
d
initial imple
m
entation o
f
CSS
.
Tr
u
sted
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-11-12
Edward Z
.
Yang
Add s
a
ni
t
y check
a
gainst ze1_
c
ompat
i
bilit
y
_mode
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-11-12
Edward Z
.
Yang
Fix inc
o
rrect PEARSax
3
test ass
e
rtion
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-10-29
E
dward
Z
.
Y
a
ng
Check
if sch
e
ma
.
ser
w
as corrupt
e
d
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-10-28
Edward
Z
.
Yang
Fix
r
em
o
val o
f
i
d
with DirectLe
x
by preserving armor
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-09-28
E
d
ward Z
.
Yang
Escap
e
CDA
T
A befo
r
e handling conditional comments
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-09-28
E
d
war
d
Z
.
Y
a
ng
Implement HTML
.
Nof
o
ll
o
w for external links
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-09-28
Edward
Z
.
Yang
Make IE condition
a
l co
m
men
t
matching u
n
g
r
eedy
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-09-15
Edward Z
.
Yang
Release 4
.
2
.
0
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-09-15
Edward
Z
.
Yang
Renam
e
newline nor
m
alization directive
t
o
something
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-09-15
Edward Z
.
Ya
n
g
S
hift to 4
.
2
.
0 r
e
lease c
y
cle
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
next