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
Properly handle context variables that are NULL.
2013-10-13
Edward
Z
.
Yang
Pr
o
perl
y
handl
e
c
ont
e
xt variables tha
t
a
re NU
L
L
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-10-13
Edward Z
.
Yang
Implementati
o
n o
f
a Zipper, for effic
i
ent splice
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-10-13
Edwar
d
Z
.
Yang
Impr
o
ve
g
i
tignore
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-09-17
E
d
ward Z
.
Yang
Fi
x
quadratic behavior in DOMLex due to array_shift
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-09-14
Edward
Z
.
Yang
Pr
o
perly
use HMAC for secure mu
n
gin
g
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-08-18
Ma
r
cus Bointo
n
PSR-2 reforma
t
ting P
H
PD
o
c
c
orrections
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-07-27
Edward Z
.
Y
a
ng
Tigh
t
en up inv
a
riants
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-07-27
Edward Z
.
Yang
Explicitly s
p
eci
f
y d
e
c
orator name
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-07-27
E
dward Z
.
Yang
New
dire
c
tive %Cor
e
.
AllowHostnam
e
Undersc
o
re
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-07-18
Edward Z
.
Yang
Add note fall through is int
e
nt
i
ona
l
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-07-17
Marcus Bointon
Fix var name conflic
t
in loadArray
commit
|
commitdiff
|
tree
2013-07-17
Syn
c
hro
A bunch of PHPdoc and php codesniffer corrections
.
.
.
commit
|
commitdiff
|
tree
2013-06-06
Edwar
d
Z
.
Yang
Ma
k
e li
s
t nesting
t
e
s
t more sensi
t
iv
e
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-05-22
Edward Z
.
Ya
n
g
Use info_parent
_
def to get parent
informa
t
ion, since
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-05-21
Edward
Z
.
Yang
Ignore
commas and nbsp
s
for li
n
kificati
o
n
.
T
h
a
nks nAS
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-05-18
Edwa
r
d Z
.
Y
ang
Doc fix
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-04-16
Edward
Z
.
Yang
Make
U
RI
p
arsing alg
o
rithm more stri
c
t
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-02-21
E
d
w
ard Z
.
Yang
Fi
x
N
EWS ent
r
y
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-02-18
Ed
w
ard
Z
.
Yang
R
e
lease 4
.
5
.
0
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2013-02-17
E
dward Z
.
Yang
Add %Core
.
DisableExcludes dir
e
c
tive
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-12-21
M
i
chael
T
ibben
A
dd re
q
uired
const
a
n
t
for compo
s
er autoloading
commit
|
commitdiff
|
tree
2012-10-27
Edward Z
.
Y
ang
Use S
H
A-1 instead o
f
MD5
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-10-27
Ed
w
ard Z
.
Y
a
ng
Blacklis
t
more tags f
r
om Rem
o
veEmpty
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-10-27
E
d
ward Z
.
Yang
Cl
e
anup after
d
a
t
a validation
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-10-27
Edw
a
rd Z
.
Yang
Do ch
e
cks
again
s
t iconvAva
i
lable because PHP
5
.
4 ha
s
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-10-11
Edward Z
.
Yang
C
o
mment
for bug that needs to g
e
t fixed
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-10-11
Edward Z
.
Yang
CSS properties pag
e
-break-
*
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-09-16
Rob L
o
ac
h
A
u
toload
i
ng
s
u
p
port for Com
p
o
ser
commit
|
commitdiff
|
tree
2012-07-30
E
d
ward Z
.
Yang
Fix bug w
i
th non-lower case color names in
H
TML
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-07-27
Edward
Z
.
Yang
Permit unders
c
ores in font-families
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-06-16
E
dward Z
.
Yang
More support for white-spa
c
e
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-06-02
Edw
a
rd Z
.
Yang
D
o
n't lower-cas
e
compo
n
ents of background
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-05-26
Edward Z
.
Y
ang
Support
for in
l
ine-bloc
k
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-05-15
Edwa
r
d
Z
.
Y
a
n
g
Fi
x
in AttrTransfo
r
m_Nofollow
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-05-02
Edward Z
.
Y
a
ng
Use prepend
f
o
r autoloading on
PHP
5
.
3+
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-04-27
Ed
w
ar
d
Z
.
Ya
n
g
S
upport f
o
r
safe exter
n
al scr
i
pts via ex
p
l
icit white
l
i
s
t
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-03-17
Edward Z
.
Yang
F
i
x
p
r
oblem where stack
e
d Att
r
Transforms clobb
e
r e
a
ch
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-03-16
Benja
m
in Steininger
Add comp
o
s
er
.
jso
n
file fo
r
easy install via c
o
mp
o
ser
.
commit
|
commitdiff
|
tree
2012-03-02
Edward
Z
.
Yang
Actua
l
ly make URI
.
DisableResources do so
m
ething
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-02-18
Edward
Z
.
Yang
Bugfix: _blan
k
no
t
b
lan
k
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-01-25
Edward Z
.
Yang
Update N
E
WS
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-01-19
E
d
ward
Z
.
Yan
g
Release 4
.
4
.
0
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-01-18
Edward
Z
.
Yan
g
Make all of
t
h
e tests
work on all PHP versions
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-01-18
Edw
a
rd Z
.
Yang
A
void doing stu
p
id
l
y clever r
e
flection tricks that
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-01-18
Edward Z
.
Yang
Modernize s
o
me of t
h
e
t
e
sti
n
g facilities
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-01-17
Edward Z
.
Yang
Tighter CSS sel
e
cto
r
validation
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-01-06
E
d
w
a
rd
Z
.
Yang
Remark about bypassing host li
s
t with
punycod
e
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-01-06
Edward Z
.
Yang
Optiona
l
support
f
o
r IDNAs
w
ith PEAR Net_IDNA2
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2012-01-03
Edward Z
.
Yang
Remo
v
e PEARS
a
x3 lexer
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-30
E
dward Z
.
Ya
n
g
M
a
ke for
m
s work
for t
r
ansitio
n
al do
c
types
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-27
Edward Z
.
Yang
Re
m
ove inscrut
a
ble TODO,
o
p
tiona
l
i
ze another
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-27
E
dward
Z
.
Yang
Add not
e
about supersedi
n
g
m
odules in TODO
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-26
Edw
a
rd Z
.
Y
a
n
g
Bump
m
i
nor v
e
rsion
n
um
b
er to 4
.
4
.
0
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Yang
Add test for in
v
alid
S
a
feIfram
e
u
sage
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-26
Bradley
M
.
Fr
o
e
h
le
Implement Iframe modu
l
e,
a
nd
pr
o
v
ide %HT
M
L
.
SafeIfr
a
me
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-26
Edw
a
r
d
Z
.
Ya
n
g
Add
m
ore attributions
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-26
Edward
Z
.
Yang
Implement %HTM
L
.
Allowe
d
Com
m
ents and %HTML
.
Al
l
owedComme
n
tsR
e
gexp
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-26
Edward
Z
.
Yang
Fix b
r
o
k
en table conte
n
t m
o
d
e
l
,
eas
i
ly se
e
n in
XHTML1
.
1
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-26
Edwa
r
d Z
.
Yang
Prope
r
ly handle
n
ested sublists by
folding into previou
s
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-26
E
d
ward Z
.
Y
ang
Implement
%HTML
.
T
a
rgetBlan
k
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-25
E
d
ward Z
.
Yang
Ad
d
isB
e
nig
n
and getDefaultScheme methods
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-25
Edward Z
.
Yang
A
d
d a littl
e
bit o
f
documentation
about
con
t
exts for
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-25
Edward Z
.
Yang
Core
.
E
s
capeNonASCII
C
har
a
cters now
always works, even
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-25
E
d
ward Z
.
Yang
Ad
d
s
u
p
port for
s
c
ope attribute
on td and th
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-25
Edward Z
.
Yang
Add one more test
f
or SP
L
autolo
a
d d
e
fault
s
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-25
E
d
w
a
r
d
Z
.
Yang
Fix iconv t
r
u
ncation
b
ug
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-18
Edward Z
.
Ya
n
g
Remo
v
e spurious abstract definition
;
PH
P
5
.
4 doesn
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-12-18
Edward Z
.
Y
a
ng
Don't
unset parser variable; plays poorly wit
h
s
e
rialize
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-08-24
Edw
a
r
d Z
.
Yang
Typofix
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-08-24
Edward Z
.
Y
a
ng
Don't a
d
d
nofollow for
matching h
o
sts, generalize this
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-08-24
E
d
ward Z
.
Yang
U
p
date I
N
STALL
t
o avoid
m
is
s
ing config s
n
afu, upd
a
te
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-08-24
Edward
Z
.
Yang
Do
n
ot
d
u
p
lic
a
te nofollow att
r
ibu
t
e in t
r
an
s
form
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-04-19
Edward
Z
.
Yang
Explicitly in
i
tialize an
o
nModu
l
e to
n
ull
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-04-10
Edward Z
.
Yang
URI
.
Mung
e
munges
h
ttp
s
to ht
t
p URI
s
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-04-10
Edward Z
.
Yang
Color k
e
ywords n
o
w c
a
se-insensi
t
ive
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-03-27
Edward Z
.
Yang
Re
l
ease 4
.
3
.
0
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-03-27
Edward Z
.
Y
ang
F
ix CSS URL i
n
n
erHTML/cssText
escaping bug
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-03-27
Edward
Z
.
Yang
Protect against font f
a
mily
i
nnerH
T
ML/cssText
a
ttacks
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-03-27
Edward Z
.
Yang
Fix Internet Explorer i
n
nerHTML
bug
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-03-24
E
d
ward Z
.
Y
ang
Implement
C
S
S
.
AllowedFonts
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-03-22
Edward Z
.
Yang
Don't autoclo
s
e
i
f no parents support
t
he tag
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-03-21
E
d
ward Z
.
Yang
Sa
f
ety u
p
date for nes
t
ed ul test
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-03-17
Edward
Z
.
Y
ang
F
ix E_NOTICE fro
m
indexing into empty st
r
ing
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-02-27
Edward Z
.
Yang
Fix missin
g
numeric entities (show
s
up
when Di
r
ectLexing)
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-01-25
Edward Z
.
Y
ang
Dramatically rewrite null host
URI h
a
nd
l
ing
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-01-22
Edward Z
.
Yang
Fix embed
d
ing
f
las
h
on non
-
IE
b
rowsers and
allow more
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-01-19
Maxim Krizhanovsky
I
te
r
a
tive
travers
a
l of DOM
.
commit
|
commitdiff
|
tree
2011-01-14
Edward Z
.
Yan
g
B
ump ver
s
ion
n
umber for Cache
.
Ser
i
alize
r
Pe
r
missions
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2011-01-13
Petr Skoda
Add new
Cache
.
Seri
a
lize
r
P
e
r
m
issions option
.
commit
|
commitdiff
|
tree
2011-01-13
Edward Z
.
Y
a
ng
C
h
eck that argv
i
s set be
f
ore
o
p
e
rating on
i
t
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-12-31
E
d
ward Z
.
Yan
g
F
ix ba
d
interacti
o
n
betwee
n
boots
t
rap autoloader and
.
.
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-12-30
Edward
Z
.
Yang
Fix
two bugs with caching of customized raw de
f
initions
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-11-21
Edward Z
.
Yang
Updat
e
PHPT i
n
s
t
ructions
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-11-12
E
d
ward Z
.
Yang
A
dd i
n
itial im
p
lement
a
t
i
on
o
f
CSS
.
T
rusted
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-11-12
E
d
w
a
rd Z
.
Yang
Add
s
a
n
ity check against ze1_compatibility
_
m
ode
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-11-12
Edw
a
rd Z
.
Yang
Fix incorrect PEARSax3 test
a
ssert
i
o
n
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-10-29
Edwar
d
Z
.
Yang
Check if
s
chema
.
ser was corrupte
d
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-10-28
Edward Z
.
Yang
F
i
x remo
v
a
l
of id with DirectLex
b
y preserving
a
rmor
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-10-28
N
ick Pope
Al
l
ow non-st
a
t
i
c au
t
oload
m
ethods w/ PHP >= 5
.
2
.
11
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
2010-09-28
Edward
Z
.
Y
ang
Escap
e
C
DATA b
e
fore ha
n
dling conditiona
l
com
m
ents
.
Signed-off-by: Edward Z. Yang <
ezyang@mit.edu
>
commit
|
commitdiff
|
tree
next