repo.or.cz
/
htmlpurifier
/
darkodev.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Typo in docs, thanks Soleil Golden for reporting.
2014-02-04
E
d
ward Z
.
Yang
Typo in docs, th
a
nks Soleil
G
olden fo
r
repor
t
ing
.
Signed-off-by:
Edward Z. Yang
<ezyang@cs.stanford.edu>
commit
|
commitdiff
|
tree
2013-12-08
Edward
Z
.
Yang
M
a
ke Com
p
oser wo
r
k wi
t
h
P
HP 5
.
2 and ear
l
ier
.
Report
e
d
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@cs.stanford.edu>
commit
|
commitdiff
|
tree
2013-11-30
Edward Z
.
Yang
R
e
leas
e
4
.
6
.
0
.
Signed-off-by:
Edward Z. Yang
<ezyang@cs.stanford.edu>
commit
|
commitdiff
|
tree
2013-11-30
Edward Z
.
Yang
Cond
i
ti
o
na
l
ize
h
ash_hmac tests for
5
.
0
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-11-30
Edward
Z
.
Yang
Add
T
w
i
tter handle to
releas
e
n
o
t
es
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-28
Ed
w
ard Z
.
Yang
F
i
x inf
i
ni
t
e
l
oop in Lexer
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-22
Ed
w
ard
Z
.
Yang
Fix < PHP 5
.
4 compati
b
ility break
.
Thanks
G
romNaN for
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-21
E
d
war
d
Z
.
Yang
Rewrite
F
ix
N
e
sting
implementation
to be tree-bas
e
d
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-20
Edw
a
r
d
Z
.
Yang
Add conversi
o
n
funct
i
ons for ou
r
own tree format
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-17
Edward Z
.
Yang
Make the Token
c
la
s
s abst
r
act
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-17
E
dward Z
.
Yang
Re
m
ove s
o
m
e unn
e
ces
s
ary pass-by-refer
e
nce
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-17
Edward Z
.
Yang
Remove PHP 4
c
ompatib
i
lity h
a
ck
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
E
d
ward Z
.
Yang
Us
e
a
Zipper to process Mak
e
WellFormed, removing qu
a
d
ratic
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
Edward
Z
.
Yan
g
Prop
e
rly handle context variables
tha
t
are NULL
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
Edwar
d
Z
.
Yang
Implementation of
a
Zi
p
p
er, for efficient splice
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
Edward Z
.
Yang
Im
p
r
ove gitignore
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-09-17
Ed
w
ard Z
.
Yang
Fix quadr
a
tic behavior in DO
M
Lex due to array_shift
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-09-14
Edward
Z
.
Yang
Prop
e
rly use HMAC for s
e
c
u
re m
u
ng
i
ng
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-27
Edward Z
.
Y
a
ng
Tighten up invaria
n
t
s
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-27
Edward Z
.
Y
ang
Explicitly
s
p
e
cify d
e
corator na
m
e
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-27
Edward Z
.
Yang
New d
i
rective %Core
.
AllowHost
n
ameUnderscore
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-18
Edward Z
.
Yang
A
dd note
f
all through i
s
intentional
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-06-06
Edw
a
rd Z
.
Yang
M
a
ke
l
ist
n
est
i
ng
t
est more sensi
t
ive
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-05-22
Edwar
d
Z
.
Y
ang
Use i
n
f
o
_parent
_
def
t
o get
parent information, s
i
nce
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-05-21
Edwar
d
Z
.
Yang
Ignore co
m
ma
s
and nbsps for
l
inkification
.
Thanks nAS
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-05-18
Edward Z
.
Ya
n
g
Doc
f
ix
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-04-16
Edward Z
.
Yang
Ma
k
e
U
R
I parsing alg
o
rit
h
m more strict
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-02-21
Edward Z
.
Y
ang
Fix NE
W
S entry
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-02-18
Edward
Z
.
Yang
Release 4
.
5
.
0
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-02-17
E
dward
Z
.
Yang
Add
%
C
or
e
.
Di
s
ableExcludes direct
i
ve
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-27
Edward Z
.
Y
ang
Use SHA-1
i
nstead of MD5
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-27
Edward Z
.
Yang
B
l
acklist more
tag
s
from RemoveEmpty
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-27
Edward Z
.
Yang
Cleanup after data v
a
lida
t
io
n
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-27
Edward
Z
.
Yang
Do
c
hecks ag
a
inst i
c
on
v
Ava
i
l
able b
e
c
a
use PHP 5
.
4 has
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-11
Edwa
r
d
Z
.
Y
ang
Comment
f
or
b
ug th
a
t
needs to
g
et
f
ix
e
d
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-11
E
dwa
r
d
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 no
n
-lower case color names in HT
M
L
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-07-27
Edw
a
rd Z
.
Yang
Permit underscores in font-fam
i
li
e
s
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-06-16
Edw
a
rd Z
.
Yang
More sup
p
ort for white
-
space
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-06-02
Edward
Z
.
Yang
Don't lower-case components of backgro
u
n
d
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-05-26
Edward Z
.
Y
ang
Sup
p
ort
for inline-bloc
k
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-05-15
Edwar
d
Z
.
Yang
Fix i
n
Attr
T
r
ansform_N
o
follo
w
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-05-02
Edward Z
.
Yang
Use prepend for aut
o
loading on P
H
P 5
.
3+
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-04-27
Edw
a
rd Z
.
Yang
S
uppo
r
t for safe
e
x
t
ernal scripts via explicit whitelist
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-03-17
Edwar
d
Z
.
Yang
Fix problem
w
here
stacked Attr
T
ransforms
c
lobber each
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-03-02
Edward
Z
.
Yan
g
Actually
m
ake URI
.
Disa
b
le
R
esourc
e
s
do s
o
m
ething
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-02-18
Edward
Z
.
Y
ang
Bugfix: _b
l
a
n
k not blan
k
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-25
E
d
ward
Z
.
Yang
Update
N
EWS
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-19
Edward Z
.
Yang
R
ele
a
se 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 work on all PHP versions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-18
Edward Z
.
Yang
Avoid doin
g
s
t
u
pidly clev
e
r
r
eflect
i
on tricks that
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-18
E
d
ward
Z
.
Yan
g
Modernize some of t
h
e testing
faci
l
ities
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-17
Ed
w
ard Z
.
Yang
Tighter
C
SS se
l
ector valid
a
tion
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-06
Edward
Z
.
Yang
Remark about
bypassi
n
g host l
i
st with puny
c
ode
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-06
Ed
w
ard
Z
.
Y
ang
Opt
i
ona
l
su
p
po
r
t fo
r
IDNAs with PEAR Net_I
D
NA2
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-03
Ed
w
ard Z
.
Yang
Remove PEARSax
3
lexer
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-30
Edwar
d
Z
.
Yang
Mak
e
forms work
for transitional doctypes
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-27
E
dward Z
.
Yang
R
em
o
ve in
s
crutable
TODO, optionalize another
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-27
Edward Z
.
Yang
A
dd note
about s
u
pers
e
di
n
g modul
e
s
in TODO
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Y
a
ng
B
u
mp minor
ver
s
ion number
to 4
.
4
.
0
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edwa
r
d Z
.
Yang
Add test
for
i
nvali
d
S
afeIfr
a
me usage
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Yang
Add more at
t
rib
u
tio
n
s
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
E
d
ward Z
.
Yan
g
Imple
m
ent %HTML
.
A
l
l
o
wedComments
a
nd %HTML
.
Al
l
owedComme
n
t
s
Regexp
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Ed
w
a
rd
Z
.
Y
ang
Fix
b
roken
table con
t
ent mode
l
,
e
asily seen in XHTML1
.
1
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Yang
Properly handle
nested sublist
s
by f
o
l
ding into pr
e
v
ious
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
E
d
w
ard Z
.
Ya
n
g
Implement %HTML
.
TargetB
l
ank
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edward
Z
.
Y
a
ng
A
d
d
isB
e
nign a
n
d ge
t
DefaultScheme meth
o
d
s
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Ed
w
ard Z
.
Y
an
g
Add a little bit
o
f documentat
i
on about contexts for
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edward Z
.
Yang
Core
.
E
s
capeNonAS
C
IICharacters now al
w
ays w
o
r
ks, even
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
E
d
w
ard Z
.
Yang
Add support for scope attr
i
bute
o
n
td a
n
d th
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
E
dwa
r
d Z
.
Yan
g
Add
one more test f
o
r
SPL auto
l
o
ad defaults
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edward
Z
.
Ya
n
g
F
i
x
iconv truncati
o
n bug
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-18
Edward Z
.
Yang
Remove spurious abstr
a
c
t
definition;
P
H
P
5
.
4 do
e
sn
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-18
Edward Z
.
Yang
Don't un
s
et parser va
r
ia
b
le
;
pla
y
s poorly
w
ith seriali
z
e
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
Edward
Z
.
Yang
T
y
pofix
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
Edwar
d
Z
.
Yang
D
on'
t
add nofollow
for
m
atching hosts, g
e
n
e
ralize this
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
E
dward
Z
.
Yang
Upd
a
te
IN
S
TALL
to avoid
m
issing config snafu, update
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
Edward Z
.
Ya
n
g
Do not duplicate nofollow attribute in
t
ransform
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-04-19
Edward
Z
.
Y
a
ng
Explic
i
tly
i
nitialize anon
M
odule to null
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-04-10
Edward Z
.
Yang
U
R
I
.
Mu
n
ge
m
unges https to http URIs
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-04-10
Edward Z
.
Yang
Color keywo
r
ds now case-insensi
t
ive
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-27
Edward Z
.
Yang
Re
l
e
a
s
e 4
.
3
.
0
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-27
E
d
w
ard Z
.
Ya
n
g
F
i
x CSS URL innerH
T
ML/cssText e
s
caping bug
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-27
Edward
Z
.
Y
a
ng
Pro
t
ect agai
n
st font family innerHTML/css
T
ext at
t
ack
s
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-27
Edwa
r
d Z
.
Yang
Fi
x
Int
e
rnet Explorer
i
n
n
e
rHTML
b
u
g
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-24
Edward Z
.
Yang
Implement CSS
.
A
l
l
o
wedFonts
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-22
Edward Z
.
Yang
Do
n
't autoclose
i
f no parent
s
s
u
ppor
t
t
h
e tag
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-21
Edward Z
.
Y
a
ng
S
a
fety update for nested u
l
test
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-17
Edward Z
.
Yang
Fix E_N
O
TICE
f
rom indexin
g
into empty string
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-02-27
Edward Z
.
Y
a
ng
F
i
x
missing
numeric enti
t
i
es (shows up w
h
en DirectLexing)
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-25
Edward Z
.
Yang
Dr
a
ma
t
ically rewrite null hos
t
URI han
d
ling
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-22
E
d
ward Z
.
Yang
F
i
x
embedding flash on
non-IE br
o
wsers an
d
allow more
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-14
Edward Z
.
Ya
n
g
Bump version number f
o
r C
a
che
.
S
e
rializerPerm
i
ssions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-13
Ed
w
ard Z
.
Yang
Ch
e
c
k
t
h
at arg
v
is set befo
r
e operating on i
t
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-12-31
Edward Z
.
Yang
Fi
x
bad interacti
o
n between bootstrap a
u
t
oload
e
r and
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-12-30
Edward Z
.
Yang
Fix two bugs with cac
h
ing of customized raw de
f
initions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-11-21
Ed
w
ard Z
.
Yang
Up
d
ate
PHP
T
instructions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-11-12
Edward Z
.
Y
ang
Add i
n
itial
im
p
lement
a
tion
of CSS
.
T
r
usted
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-11-12
E
dwa
r
d
Z
.
Yang
Add sanity
c
heck
a
g
ainst ze1_comp
a
tibility_mode
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2010-11-12
Edward
Z
.
Yang
Fix i
n
correct PEARSax3 test
a
sserti
o
n
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
next