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
Make Composer work with PHP 5.2 and earlier. Reported by @voku
2013-12-08
Edwar
d
Z
.
Yang
Make
C
omposer work wi
t
h PHP 5
.
2 and earlier
.
R
eported
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@cs.stanford.edu>
commit
|
commitdiff
|
tree
2013-11-30
Edward Z
.
Yang
Release 4
.
6
.
0
.
Signed-off-by:
Edward Z. Yang
<ezyang@cs.stanford.edu>
commit
|
commitdiff
|
tree
2013-11-30
Ed
w
ard Z
.
Yang
Con
d
itionalize hash_hmac tests
for
5
.
0
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-11-30
Ed
w
ar
d
Z
.
Yang
Ad
d
Twitter handle to release notes
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-28
Edw
a
rd Z
.
Ya
n
g
Fix infinite loop in Lexer
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-22
E
d
ward Z
.
Yang
Fi
x
< PHP
5
.
4 compatibilit
y
break
.
Thanks GromNaN for
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-21
E
d
ward Z
.
Yang
Rewr
i
t
e
FixNes
t
i
n
g implementatio
n
to b
e
tree-based
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-20
Edwa
r
d Z
.
Y
a
ng
Add conversi
o
n f
u
n
c
tions for our
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
Make the T
o
ken c
l
ass abstr
a
c
t
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-17
Edward Z
.
Yang
Remove some unneces
s
ary
pass-by-re
f
er
e
n
ce
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-17
Edwa
r
d Z
.
Yang
Re
m
ov
e
PHP 4 c
o
mpatibility hac
k
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
Edward Z
.
Yang
Use a Zipper to process MakeW
e
ll
F
orm
e
d
,
removing quad
r
atic
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
Edward Z
.
Yang
Properly handle context variables
t
h
at are NULL
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
Edward Z
.
Ya
n
g
Im
p
lemen
t
ation of a
Z
ipper, fo
r
efficient splice
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
Edward Z
.
Yang
Improve
gitig
n
ore
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-09-17
Edwar
d
Z
.
Yang
Fi
x
quadratic behavi
o
r
i
n DOMLex due
t
o
a
rray_shif
t
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-09-14
E
d
w
a
rd Z
.
Yang
Pr
o
perly
use
HMA
C
fo
r
s
ecure munging
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-27
Edward Z
.
Yang
Tig
h
ten up invariants
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-27
Edward Z
.
Y
ang
E
xpl
i
citly specify d
e
corator
name
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-27
Edward Z
.
Y
a
ng
Ne
w
dire
c
tive
%
C
o
r
e
.
A
l
lowHost
n
a
m
eUnders
c
ore
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-18
E
dward
Z
.
Yan
g
Add note f
a
ll through
is i
n
tentional
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-06-06
Edward Z
.
Y
ang
Make list nesting test more sensi
t
ive
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-05-22
E
dwar
d
Z
.
Ya
n
g
U
s
e i
n
fo_pa
r
ent_
d
ef to g
e
t
p
arent
i
nformat
i
on, si
n
ce
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-05-21
E
d
ward Z
.
Yang
I
gnore commas and nbs
p
s f
o
r link
i
f
i
c
ati
o
n
.
Thank
s
nAS
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-05-18
Edward Z
.
Yan
g
Doc fix
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-04-16
Edward Z
.
Yang
Make URI parsing alg
o
rithm more
s
t
rict
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-02-21
Ed
w
ard Z
.
Ya
n
g
Fix NEWS entry
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-02-18
Edw
a
r
d
Z
.
Yang
Release 4
.
5
.
0
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-02-17
Edward
Z
.
Yang
Add %Cor
e
.
Dis
a
bleExcludes di
r
ective
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-27
Edward Z
.
Yang
Use
S
HA-1
i
nste
a
d of MD5
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-27
Edward
Z
.
Yang
B
lacklist more t
a
gs from R
e
moveE
m
pty
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-27
Edwa
r
d
Z
.
Yang
C
l
eanup after data vali
d
a
t
i
o
n
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-27
Edward Z
.
Yang
Do checks
a
gainst iconvAvail
a
ble becaus
e
PHP 5
.
4 ha
s
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-11
Edward
Z
.
Yang
Comment for bug th
a
t
need
s
t
o get
f
ix
e
d
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-11
Edward Z
.
Yang
CSS properties page-break-*
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 in
H
TML
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-07-27
Edward Z
.
Yang
P
e
r
m
it underscores
i
n f
o
nt-families
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-06-16
Edward Z
.
Yan
g
More support for white-space
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-06-02
Edwar
d
Z
.
Yang
Do
n
't lowe
r
-
case
c
ompone
n
ts
of
ba
c
kgroun
d
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-05-26
Edward
Z
.
Yang
S
u
pport for inline-block
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-05-15
Edward Z
.
Yang
Fix in AttrTransform_Nofollo
w
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-05-02
Ed
w
ard Z
.
Yang
Use prepend for a
u
toloadin
g
on P
H
P 5
.
3+
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-04-27
Edward Z
.
Yang
Support for safe external
s
cripts via
e
x
pl
i
cit whitelist
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-03-17
E
dward Z
.
Yang
F
i
x probl
e
m
where stack
e
d AttrT
r
ansforms
c
lob
b
er
e
ach
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-03-02
Edward Z
.
Yang
Actually make URI
.
DisableR
e
source
s
do
s
o
mething
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-02-18
Ed
w
ard Z
.
Yang
Bugf
i
x: _
b
l
a
nk
not blank
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-25
E
dward
Z
.
Y
a
ng
U
pdate NEWS
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-19
Edward
Z
.
Yang
Rele
a
se
4
.
4
.
0
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-18
Edward Z
.
Y
ang
Make all o
f
th
e
tests work on all
P
HP versions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-18
Edward Z
.
Yan
g
Avoid do
i
ng
s
t
upidly cleve
r
reflection tricks that
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-18
Edward Z
.
Yang
Modernize
some of t
h
e test
i
ng facilit
i
es
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-17
Edwar
d
Z
.
Yan
g
Tighter CSS selecto
r
validation
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-06
Edward Z
.
Yang
Remark a
b
out by
p
ass
i
n
g
h
o
st list wi
t
h
punycode
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-06
Edward Z
.
Yang
Optio
n
al support for IDNAs with
P
EAR Net_IDNA2
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-03
Edward Z
.
Yang
Remove
PEARSax3 l
e
xer
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-30
Edward Z
.
Yang
Make
f
orms
w
o
r
k fo
r
transi
t
i
o
na
l
doctypes
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-27
E
dwar
d
Z
.
Yang
R
emov
e
inscrutable TO
D
O, optionalize a
n
other
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-27
Edward Z
.
Yang
A
dd note about su
p
er
s
e
d
ing modules in TODO
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
E
dwar
d
Z
.
Yang
Bump mi
n
or version number to 4
.
4
.
0
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
E
d
ward
Z
.
Yan
g
Add
test for invalid SafeIframe usage
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Y
a
n
g
Add more attributions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
E
dw
a
rd Z
.
Yang
Imple
m
ent %HT
M
L
.
Al
l
ow
e
d
C
omments
and %HTML
.
AllowedCo
m
m
e
ntsRegexp
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Yang
F
i
x b
r
oken
t
able cont
e
nt model, easil
y
s
e
en
i
n XHTML1
.
1
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edw
a
rd Z
.
Yang
Pr
o
perly handle
n
ested s
u
blis
t
s by folding into previous
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
E
dward Z
.
Yang
Implement %HTML
.
Ta
r
getBlan
k
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edward Z
.
Y
ang
Add is
B
enign and
getDefaultScheme me
t
hods
.
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
c
ument
a
ti
o
n about contexts for
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edwar
d
Z
.
Yang
Core
.
Esca
p
eN
o
nASC
I
ICharacters now al
w
ays work
s
,
even
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edward Z
.
Yang
A
d
d
support for sco
p
e attribute on t
d
and th
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edward Z
.
Ya
n
g
Add one
mor
e
test
for SPL
a
uto
l
oad defaults
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edward Z
.
Yang
Fix ic
o
nv tr
u
ncation bug
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-18
Edward Z
.
Yang
Remove
s
p
urious a
b
st
r
act def
i
nition; PHP 5
.
4 d
o
esn
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-18
Edward Z
.
Yang
Don'
t
unset parser variab
l
e; play
s
poorly with serialize
.
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
Edward Z
.
Yang
Don't
a
dd no
f
oll
o
w for mat
c
h
i
ng hosts, g
e
neralize th
i
s
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
Edwar
d
Z
.
Yang
Upda
t
e IN
S
TALL to avoi
d
mi
s
sing config sna
f
u, update
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
Edward
Z
.
Yang
D
o not duplicate nofollow at
t
ribute in transform
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-04-19
Edward Z
.
Yang
Explic
i
tly initialize
anonModule to
nul
l
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-04-10
Edward Z
.
Yang
U
R
I
.
Mu
n
ge munge
s
ht
t
ps to http URIs
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-04-10
E
d
war
d
Z
.
Yang
C
o
l
o
r k
e
ywords now ca
s
e-in
s
e
n
s
itive
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-27
Edw
a
rd 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 inn
e
rHTML/cssTe
x
t es
c
aping bug
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-27
Edward Z
.
Yang
P
r
otect a
g
ains
t
font family inner
H
TML/
c
ssText
a
t
t
a
cks
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-27
Edw
a
rd Z
.
Yan
g
Fix
I
nternet Explorer innerHTML b
u
g
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-24
Edward Z
.
Yang
Implement
CSS
.
AllowedFonts
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-22
Edward Z
.
Y
a
ng
Don't autoclose
if no
p
arents
su
p
port the t
a
g
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-21
Edward Z
.
Y
a
n
g
Safety update for n
e
sted u
l
test
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-17
Edward Z
.
Yang
Fi
x
E_N
O
TICE
from inde
x
ing
int
o
empty
s
t
r
ing
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-02-27
Ed
w
ard
Z
.
Yang
F
i
x missing numeric entities
(shows u
p
when
D
i
rect
L
exing)
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-25
E
d
ward Z
.
Yang
Dramatically rewrite null
h
ost URI ha
n
dling
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-22
E
d
w
a
rd Z
.
Y
ang
Fix
emb
e
ddin
g
flash on non-IE br
o
wsers
a
nd allo
w
more
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-14
E
d
ward Z
.
Yang
Bump v
e
r
s
i
on
number for Cach
e
.
S
e
ri
a
lizerPermissions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-13
Edward
Z
.
Y
ang
Check that argv is set
b
efore operating on it
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-12-31
Edward
Z
.
Yang
Fix ba
d
inte
r
a
c
t
i
on between bootstrap autoloader and
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-12-30
Edward Z
.
Y
a
ng
F
i
x
two bugs wit
h
caching of customized raw
d
efiniti
o
ns
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-11-21
E
d
w
ar
d
Z
.
Y
ang
Updat
e
PHPT inst
r
uc
t
ions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-11-12
Edwar
d
Z
.
Yang
A
dd initial implementation
of CSS
.
Tr
u
s
ted
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-11-12
Edward
Z
.
Yang
Add sanity
c
heck against ze1_comp
a
tibilit
y
_m
o
de
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-11-12
E
d
wa
r
d Z
.
Yang
Fix
i
ncorrect
PEARS
a
x3 test assertion
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-10-29
Edward Z
.
Yang
Ch
e
ck if schema
.
se
r
was corr
u
pte
d
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
next