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
Fix < PHP 5.4 compatibility break. Thanks GromNaN for submitting the patch.
2013-10-22
Edward Z
.
Yan
g
F
ix < PHP 5
.
4
c
ompatibility break
.
Thank
s
GromNaN for
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-21
E
d
ward Z
.
Yang
Rewrite
F
ixNes
t
ing imp
l
ementatio
n
to be
t
r
ee-based
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-20
E
dward Z
.
Yang
Add co
n
version fu
n
ctio
n
s f
o
r
o
u
r own t
r
ee for
m
at
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-17
Edward Z
.
Yang
M
a
ke the Token clas
s
a
b
s
tract
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-17
Edward Z
.
Yang
Remove some unn
e
c
e
ss
a
ry pass-by
-
reference
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-17
E
dward
Z
.
Yang
Remove PHP 4 c
o
m
p
a
tibility
hack
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
Edwa
r
d
Z
.
Y
a
ng
Use a Zi
p
p
er t
o
pro
c
es
s
MakeWellF
o
rmed,
r
emoving quadr
a
tic
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
Edward
Z
.
Yang
Properly handle contex
t
v
a
riab
l
es tha
t
are NULL
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
Edward Z
.
Yang
Implem
e
nta
t
ion of a
Z
ipper, for efficie
n
t s
p
lice
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
Edward Z
.
Yang
Improve
gitignore
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-09-17
Edward
Z
.
Yang
Fix q
u
adratic beh
a
vior in D
O
MLe
x
d
ue to
array_shift
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-09-14
Edward Z
.
Yang
Properly
u
s
e
HMA
C
for secu
r
e munging
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-08-18
M
a
rcus Boi
n
ton
P
S
R-2 reform
a
ttin
g
PHPDoc corrections
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-27
Ed
w
a
r
d Z
.
Yang
Tighten up invari
a
nts
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-27
Edward Z
.
Yang
Explicitly specify decorator name
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-27
Edward Z
.
Yang
N
e
w directive %
C
o
r
e
.
AllowH
o
stnameU
n
d
e
rsco
r
e
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-18
Edward Z
.
Y
a
n
g
Add not
e
f
a
ll t
h
r
o
ugh is inten
t
ion
a
l
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-17
Marcus Bo
i
nton
Fix var name conflict in loadArray
commit
|
commitdiff
|
tree
2013-07-17
Synchro
A bunch of PHPdoc and ph
p
codesni
f
fer cor
r
ections
.
.
.
commit
|
commitdiff
|
tree
2013-06-06
Edward Z
.
Yang
Make
list ne
s
ting test more sensit
i
ve
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-05-22
Edwar
d
Z
.
Y
ang
U
se info_parent_def to
get
parent
i
n
formation,
since
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-05-21
Edward Z
.
Y
a
ng
Ignore com
m
as and nb
s
ps fo
r
l
i
nkificatio
n
.
Thanks
nAS
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-05-18
E
d
ward Z
.
Y
a
ng
D
oc fix
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-04-16
Edwa
r
d Z
.
Yang
M
ake URI pa
r
sing algorithm more strict
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-02-21
E
dward Z
.
Yang
Fix NE
W
S entry
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-02-18
Edward
Z
.
Y
a
ng
R
e
lease 4
.
5
.
0
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-02-17
Edward Z
.
Yang
Add
%Co
r
e
.
DisableExcludes directive
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-12-21
Mi
c
hael Tibben
Add
r
e
q
uired c
o
nstant for co
m
poser autoloadin
g
commit
|
commitdiff
|
tree
2012-10-27
Edw
a
rd Z
.
Y
a
ng
Use SHA-1 instead of
M
D5
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-27
Edward Z
.
Y
a
ng
Blackl
i
st m
o
r
e tags f
r
om RemoveE
m
pty
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-27
Edward Z
.
Y
a
ng
C
l
e
anup after data val
i
dation
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-27
Edw
a
rd Z
.
Y
a
ng
Do checks ag
a
i
n
s
t
iconvAvai
l
able because 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 that
n
eeds to ge
t
f
ixed
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-11
E
d
ward Z
.
Yang
CSS pr
o
pert
i
es
page
-
b
r
eak-*
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-09-16
Rob
L
oach
Autoload
i
ng s
u
pport
f
or
C
omposer
commit
|
commitdiff
|
tree
2012-07-30
E
d
ward Z
.
Yang
F
i
x bug
w
i
t
h
non-lower c
a
se
c
olor
n
ames in HTML
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-07-27
Edward Z
.
Yang
Permit under
s
c
o
res
in font-fam
i
lies
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-06-16
Edward Z
.
Y
ang
Mo
r
e support for wh
i
te-space
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-06-02
E
dwa
r
d Z
.
Y
ang
Don't
l
o
wer-case component
s
of background
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-05-26
E
d
w
ard Z
.
Yang
Su
p
port for
i
nline-blo
c
k
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-05-15
Edwa
r
d Z
.
Yang
Fix in AttrTransform_Nofollow
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-05-02
Edw
a
rd Z
.
Y
ang
U
se
prepe
n
d for autoload
i
ng on PHP 5
.
3+
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-04-27
Ed
w
a
r
d
Z
.
Yang
Sup
p
o
r
t for safe
external scri
p
t
s
via explicit whitelist
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-03-17
Edward Z
.
Yang
Fix problem where stacke
d
AttrT
r
an
s
forms clobber each
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-03-16
Ben
j
amin Ste
i
ninger
Add
composer
.
jso
n
fil
e
for ea
s
y install via
composer
.
commit
|
commitdiff
|
tree
2012-03-02
E
dwa
r
d Z
.
Yang
A
ctually
m
a
k
e URI
.
DisableR
e
s
ource
s
d
o
somethi
n
g
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-02-18
Edward Z
.
Yan
g
Bugfix: _blank not
blank
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-25
Edward
Z
.
Yang
Upda
t
e NEWS
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-19
Edwa
r
d Z
.
Yang
Re
l
ease 4
.
4
.
0
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-18
Edward Z
.
Yang
Make all of the tests w
o
r
k
on all PHP versions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-18
Edwar
d
Z
.
Y
a
ng
Av
o
i
d doing stupidly c
l
ever
r
e
f
lection
tricks that
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-18
Edward Z
.
Ya
n
g
Modernize
s
o
me of the test
i
ng
facilit
i
es
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-17
Edward Z
.
Yang
Tighter CSS
s
elector valida
t
ion
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-06
Edward Z
.
Yang
Remark about bypassing host list with pun
y
c
ode
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-06
Edward
Z
.
Yang
Optional suppo
r
t f
o
r IDNA
s
with PE
A
R Net_IDNA2
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-03
Edward
Z
.
Yang
Re
m
ove
P
EAR
S
ax3 lexer
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-30
Edwa
r
d Z
.
Yan
g
Make for
m
s work f
o
r tra
n
s
itional doctypes
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-27
Edward
Z
.
Y
ang
Remov
e
inscrutable TODO, option
a
lize a
n
ot
h
er
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-27
Edwar
d
Z
.
Yang
Add
n
ote about superseding
m
odules in TO
D
O
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward
Z
.
Yang
Bump minor version numb
e
r to 4
.
4
.
0
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Ed
w
a
rd Z
.
Yang
Add t
e
st for invalid SafeIframe u
s
age
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Bradl
e
y M
.
F
roehle
Implemen
t
Ifra
m
e module, and provide %HTML
.
SafeIframe
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edwar
d
Z
.
Ya
n
g
Add mo
r
e attri
b
u
tions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Yang
I
m
p
leme
n
t
%HTML
.
A
l
lo
w
edCom
m
e
n
t
s
a
nd
%
HTML
.
Allow
e
dCommentsRegex
p
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Ed
w
ard Z
.
Yang
Fix
b
roken
t
able content model,
e
asily s
e
en in XHTML1
.
1
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Yang
Properly ha
n
dle n
e
st
e
d
sublist
s
by folding into previ
o
u
s
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward
Z
.
Yang
Imp
l
ement %HT
M
L
.
Tar
g
etBlank
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edw
a
rd Z
.
Yang
A
dd isBenign and ge
t
DefaultS
c
heme
methods
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edwar
d
Z
.
Yang
Add a little bit o
f
documentation about c
o
ntexts f
o
r
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Ed
w
ard Z
.
Yang
C
ore
.
EscapeNonA
S
C
IIChar
a
cters n
o
w always work
s
, even
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
E
d
ward Z
.
Ya
n
g
Add support for scope attri
b
u
te
o
n td and th
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
E
d
ward Z
.
Yang
Add
one
more t
e
st for
SPL autoload de
f
aults
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edward Z
.
Yang
Fix
iconv
t
runcatio
n
b
u
g
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-18
Edward Z
.
Y
a
ng
Remove spurious abstr
a
ct de
f
init
i
on; PHP 5
.
4 doesn
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-18
E
d
w
a
r
d Z
.
Yan
g
Don't unset parser variable; plays po
o
rly
w
it
h
se
r
ialize
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
Edward Z
.
Yang
Typofix
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
Edwa
r
d
Z
.
Ya
n
g
Don't add no
f
oll
o
w for
m
a
t
ching
ho
s
ts,
generalize this
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
Edward Z
.
Yang
Update INS
T
ALL
t
o avoi
d
m
issing config snafu,
u
pdate
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
Ed
w
ard Z
.
Y
a
n
g
Do not d
u
plicate nofollo
w
attribute in transf
o
rm
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-04-19
Edwar
d
Z
.
Y
a
ng
Explic
i
t
l
y i
n
i
tial
i
z
e
anonModule to null
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-04-10
Ed
w
a
r
d Z
.
Y
an
g
URI
.
Mun
g
e
munges https 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
Rel
e
ase 4
.
3
.
0
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-27
E
d
w
ard Z
.
Yang
Fix
CSS URL innerHTML/cssText
e
sc
a
ping bug
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-27
Edw
a
rd Z
.
Yang
Pr
o
tect agains
t
font famil
y
i
n
nerHTML/cs
s
T
e
x
t
attacks
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-27
Ed
w
ard Z
.
Yang
Fix In
t
ernet Explorer
innerHTML bug
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-24
Edw
a
rd Z
.
Y
a
n
g
Impleme
n
t CSS
.
Al
l
owedFonts
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-22
Edward Z
.
Yang
Don't autoclose if
no
p
arents support
the tag
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-21
E
d
w
ard
Z
.
Yan
g
Safet
y
up
d
a
t
e for nested ul test
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-17
Edwar
d
Z
.
Yang
Fix E
_
NOTICE from
indexing into e
m
pty
string
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-02-27
Edward Z
.
Yang
Fix missing numeric entit
i
es (sho
w
s
u
p when DirectLexing)
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-25
Ed
w
ard
Z
.
Yang
Dram
a
tically rewrit
e
null host URI handli
n
g
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-22
Edward Z
.
Yan
g
Fix embedding flash on non
-
IE
b
r
owsers and allow more
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-19
M
a
xim Krizhanovsk
y
Iterative travers
a
l o
f
D
O
M
.
commit
|
commitdiff
|
tree
2011-01-14
Edwa
r
d Z
.
Ya
n
g
Bump version number f
o
r Cache
.
SerializerPermissions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-13
Petr S
k
o
d
a
Add
n
e
w Cache
.
SerializerPermi
s
sions option
.
commit
|
commitdiff
|
tree
2011-01-13
Edward Z
.
Yang
C
h
eck that ar
g
v is
s
et befor
e
oper
a
ting on it
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-12-31
E
d
ward
Z
.
Yang
Fix
bad int
e
raction
between boot
s
trap autoloader a
n
d
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-12-30
E
dward Z
.
Yang
Fix
t
wo bugs
with cach
i
ng of customized
r
aw d
e
finitions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-11-21
Edward Z
.
Y
a
n
g
U
p
date PH
P
T instruc
t
ions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
next