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
Avoid doing stupidly clever reflection tricks that make old PHP versions sad.
2012-01-18
Edward Z
.
Yang
Avoid doing stupidly clever reflection trick
s
t
hat
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-18
Edward Z
.
Yang
Modernize some of
t
he testi
n
g facilities
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-17
Ed
w
ard
Z
.
Yang
T
i
ghter CSS selector
v
a
lidation
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-06
Edward Z
.
Ya
n
g
Remark
a
bout bypa
s
sing
h
os
t
list with punycode
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-06
Ed
w
a
rd Z
.
Y
a
ng
O
pt
i
o
n
al support for IDNAs with PEA
R
Ne
t
_IDNA2
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-03
E
dwa
r
d Z
.
Y
a
ng
R
em
o
ve PEARSax3 lexer
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-30
Edward Z
.
Yang
Make fo
r
m
s
work for
t
ransitional docty
p
es
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-27
Edward Z
.
Yang
Remove inscrutable TODO, optiona
l
ize another
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-27
Edward Z
.
Yang
A
dd note about
superseding modules in TODO
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Yang
Bump
m
i
nor vers
i
o
n
number to 4
.
4
.
0
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward
Z
.
Yang
Ad
d
tes
t
for invali
d
SafeIfram
e
usag
e
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward
Z
.
Ya
n
g
Add more
att
r
ibut
i
o
n
s
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward
Z
.
Yang
Implement %HTML
.
All
o
wedComment
s
a
n
d %
H
TML
.
A
llowedCommentsRe
g
exp
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edwa
r
d Z
.
Yang
Fix broken table content model, easily
s
een in XHT
M
L1
.
1
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Y
ang
P
ro
p
e
rly ha
n
dle nested sublists by
f
o
l
ding
int
o
previo
u
s
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Yang
Imple
m
ent %HTML
.
TargetBla
n
k
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edward Z
.
Yang
A
d
d isBenign and get
D
efaultSchem
e
methods
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edw
a
rd Z
.
Yang
Add a
l
i
ttle bit of documenta
t
ion about conte
x
ts for
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edwa
r
d
Z
.
Yang
Core
.
EscapeNonASCIICharacter
s
now always works,
e
v
en
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edward Z
.
Yang
A
d
d su
p
port for scop
e
att
r
ibute on td
and t
h
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edward Z
.
Yan
g
Add one more t
e
st for SPL a
u
toloa
d
d
e
faul
t
s
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edward
Z
.
Yang
Fix ico
n
v
truncat
i
o
n
b
u
g
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-18
Edward Z
.
Y
ang
Remove sp
u
ri
o
us abst
r
act definition; P
H
P 5
.
4 do
e
sn
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-18
E
dward Z
.
Y
an
g
Don
'
t unse
t
par
s
e
r variable; plays poorly with s
e
rial
i
ze
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
Edwa
r
d
Z
.
Y
ang
Ty
p
o
f
ix
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
Edward Z
.
Yang
Don'
t
add nofollow for matching ho
s
ts, gener
a
lize this
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
Edward Z
.
Yang
U
p
date INSTAL
L
to
avoid missin
g
con
f
ig s
n
af
u
, u
p
date
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
Edward Z
.
Yang
Do not dup
l
ica
t
e nofoll
o
w
attribute
in transform
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-04-19
Edward Z
.
Yang
Explicitl
y
ini
t
ialize anonModule to nu
l
l
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-04-10
Edward
Z
.
Yang
URI
.
Munge munges
h
ttps 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-insens
i
tive
.
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
Fi
x
CSS URL innerHTML/cssText
escapin
g
bug
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-27
E
d
ward Z
.
Yang
Protect agai
n
st font family innerH
T
ML/cssT
e
xt attacks
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-27
Edwar
d
Z
.
Yang
Fix
Internet Explore
r
innerHTML bug
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-24
E
d
war
d
Z
.
Yang
Im
p
le
m
ent
CSS
.
AllowedFonts
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-22
Edward
Z
.
Yang
Don't autoclose if
no
p
ar
e
nts suppo
r
t the tag
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-21
Ed
w
ard Z
.
Yang
Sa
f
ety update fo
r
nested ul tes
t
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-17
Ed
w
ard
Z
.
Yang
Fix E_NOTICE fro
m
indexing into empty
s
tring
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-02-27
Ed
w
ard Z
.
Yang
Fi
x
missing numeric enti
t
ies
(
s
hows up when Direc
t
Lexing)
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-25
Edward
Z
.
Yang
Dram
a
tical
l
y rewrite null ho
s
t URI hand
l
ing
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-22
Edward
Z
.
Yang
Fix em
b
edding flash on non-IE
browsers and
a
llow m
o
re
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-14
Edward Z
.
Ya
n
g
Bump ve
r
sion number f
o
r Cache
.
SerializerPerm
i
s
sions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-13
E
dward Z
.
Yang
Ch
e
c
k
that argv is set
b
efor
e
ope
r
a
t
in
g
on
it
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-12-31
E
dward Z
.
Yang
Fix b
a
d in
t
eract
i
on between bootstrap autoloade
r
and
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-12-30
Ed
w
ard Z
.
Yan
g
F
ix tw
o
bugs with cachin
g
of custo
m
ized raw definition
s
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-11-21
Edward Z
.
Yang
Update PHPT instructions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-11-12
Edward Z
.
Yang
Add initial implementation
o
f
CSS
.
Trusted
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-11-12
Edw
a
rd Z
.
Ya
n
g
A
d
d
s
a
n
ity check against ze1_compatibility_mod
e
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-11-12
Edward Z
.
Yang
Fix incorre
c
t PEARSa
x
3 test a
s
sert
i
on
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-10-29
Edward
Z
.
Yang
C
h
e
ck i
f
schema
.
s
e
r was corrupted
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-10-28
Edward Z
.
Yang
F
i
x
removal
o
f id with Di
r
ectLex
b
y pr
e
servi
n
g armo
r
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-09-28
E
dward Z
.
Ya
n
g
Esca
p
e CDATA
b
efore handling conditio
n
a
l
comments
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-09-28
Edward Z
.
Yang
Im
p
lement H
T
ML
.
Nofollow for ex
t
ernal li
n
ks
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-09-28
Edward
Z
.
Yang
M
ake IE
c
onditional comment matc
h
ing ungr
e
edy
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-09-15
Edwa
r
d
Z
.
Yang
Release 4
.
2
.
0
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-09-15
Edward
Z
.
Yang
Rename newline no
r
m
a
lizat
i
on direct
i
ve to s
o
methin
g
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-09-15
Edward
Z
.
Y
ang
Shift t
o
4
.
2
.
0 release c
y
cle
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-09-09
Edward Z
.
Yang
Add s
u
pport
f
o
r
fil
e
:// URI schem
e
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-09-09
Edward Z
.
Yang
Upd
a
te TODO
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-09-09
Edward Z
.
Yang
I
mplement HTM
L
.
FlashAl
l
owFullScreen
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-09-04
Edward Z
.
Yang
Add
%
CSS
.
For
b
iddenPropert
i
e
s
directiv
e
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-09-04
Edwar
d
Z
.
Yang
Ad
d
documentation about configuration directive types
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-09-04
Ed
w
ard Z
.
Y
a
n
g
Reword documentation to be clearer, and give w
a
r
ning
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-08-27
Edward
Z
.
Ya
n
g
Fix Mac Snow
L
eopard APC bug
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-06-30
E
dward Z
.
Yang
Ti
g
hten u
p
ignore s
p
ec
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-06-30
E
dward Z
.
Yang
Actua
l
ly ma
k
e URI
.
D
i
sableRes
o
ur
c
es do
s
omething
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-06-21
Ed
w
ard Z
.
Yang
Added %Core
.
Remo
v
e
P
ro
c
ess
i
ngI
n
structions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-06-18
Edward
Z
.
Yan
g
Fix im
p
rop
e
r han
d
l
i
n
g of IE con
d
i
tional comments
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-06-01
Edward Z
.
Yang
Rel
e
ase 4
.
1
.
1
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-06-01
Edward Z
.
Yang
Fix u
n
de
f
ined i
n
dex war
n
ing
s
i
n
maint
e
n
ance
script
s
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-06-01
Edward
Z
.
Yang
F
ix b
u
g in
parsing single at
t
ribu
t
e
w
ith en
t
i
t
ies
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-06-01
E
dwar
d
Z
.
Yang
R
e
w
rite
CSS url()
a
nd fo
n
t-family output logic
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-05-21
E
d
w
ard
Z
.
Yang
Ma
k
e
tes
t
s
c
ript less c
h
atty when log_
e
rrors
i
s
o
n
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-05-21
Edward Z
.
Yang
Re
m
ove
sheb
a
ng and +
x
from test sc
r
ipt
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-05-18
Ed
w
ard Z
.
Yang
F
ix
inf
i
nite loop
i
n
vol
v
ing wrapping fo
r
me
d
ness
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-05-05
Edward Z
.
Ya
n
g
Fix bug in background-position with
c
ent
e
r
k
ey
w
ord
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-05-04
Edwar
d
Z
.
Y
ang
E
m
it errors
when body
is extracted
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-04-26
E
d
w
ard Z
.
Yang
Re
l
ease 4
.
1
.
0
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-04-26
E
d
w
a
rd Z
.
Yang
Mute STRICT e
r
rors from
C
SSTidy and do
n
't
r
u
n
P
E
A
RSax3
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-04-26
Edward Z
.
Yang
Alwa
y
s qu
o
t
e the contents of url(
)
in CSS
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-04-17
Edward Z
.
Yan
g
R
e
move +x bit
f
r
om RemoveSpansWithoutAttributes
.
php
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-03-30
Edwar
d
Z
.
Yang
Support for fla
s
hvars in HTML
.
Safe
E
mbed
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-03-10
Edward Z
.
Yang
Handle <o
l
><ol> pro
p
erly by adding missin
g
<
li> tag
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-03-09
Edwar
d
Z
.
Yan
g
Improve handling of
ma
l
f
o
rm
e
d o
b
ject par
a
meters
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-03-08
Edward Z
.
Y
ang
Remove
call
-
t
im
e
pass-
b
y-
r
eference
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-03-08
E
d
war
d
Z
.
Y
a
n
g
Imple
m
ent Internet Explorer compatibilit
y
c
od
e
for
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-03-08
Edward
Z
.
Y
ang
Trun
c
ate a
l
t text from src if it's
too long
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-03-08
Edward
Z
.
Yan
g
Suppor
t
flashvars
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-03-08
Ed
w
ard
Z
.
Yang
Implemen
t
data
U
RI scheme
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-03-07
Edw
a
rd Z
.
Yang
S
u
ppor
t
Yo
u
Tub
e
slideshow embedding
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-02-27
Edward Z
.
Yang
Fix extant
b
roken P
E
ARSax3
p
arsing
p
atterns
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-02-27
Edwa
r
d Z
.
Yang
Manually work ar
o
u
n
d PEARSax3 E_STR
I
CT e
r
rors
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-02-15
Edw
a
r
d
Z
.
Ya
n
g
Ad
d
she
b
an
g
l
ine to tests index
s
cript
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-02-15
Edward Z
.
Yang
Fix autopar
a
grap
h
bug w
i
th non-i
n
line elements
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2009-08-28
Edward Z
.
Yang
Update
T
ODO
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2009-08-28
Edward Z
.
Yang
Support proprietary height attr
i
bute
o
n table
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2009-08-28
Edwar
d
Z
.
Yang
G
r
ace
f
ully deal
w
ith null injectors
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2009-07-15
Ed
w
ard Z
.
Yang
Update TODO
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2009-07-10
Edward
Z
.
Yang
Release Phorum module 4
.
0
.
0
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
next