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
E
dward Z
.
Yang
Make Composer wo
r
k
with PHP 5
.
2
a
n
d earlier
.
R
eporte
d
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@cs.stanford.edu>
commit
|
commitdiff
|
tree
2013-11-30
Edward Z
.
Yang
Rele
a
se
4
.
6
.
0
.
Signed-off-by:
Edward Z. Yang
<ezyang@cs.stanford.edu>
commit
|
commitdiff
|
tree
2013-11-30
Edwar
d
Z
.
Yang
Conditionalize hash_hmac tests
for
5
.
0
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-11-30
Edward Z
.
Y
a
ng
Add
T
witter
handle to release notes
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-28
Edward Z
.
Ya
n
g
Fix
infin
i
te loop i
n
Lexer
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-22
Edward Z
.
Yang
Fi
x
< PHP 5
.
4 compatibility brea
k
.
Thanks Grom
N
aN for
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-21
Edward Z
.
Yang
Rew
r
ite F
i
xNe
s
ting im
p
l
eme
n
tation to be tree-
b
ased
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-20
Edward Z
.
Yang
Add conversion fun
c
tions fo
r
our own tree
format
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-17
Ed
w
ard
Z
.
Yang
Make the Token cl
a
ss
a
bstract
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-17
Edward Z
.
Yan
g
Remov
e
some unneces
s
ary pass-by-re
f
eren
c
e
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-17
Edward Z
.
Yang
Remove PHP
4
compatibil
i
ty ha
c
k
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
Edward
Z
.
Y
an
g
Use a Zip
p
er to process MakeWellFormed, re
m
ovin
g
quadratic
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
Edw
a
rd Z
.
Y
ang
Properly ha
n
dle
c
ontext variables that are NULL
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
Edward Z
.
Y
ang
Implementatio
n
of
a Zipper, for efficient sp
l
ice
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-10-13
Edward Z
.
Y
a
ng
Improv
e
gitig
n
o
re
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-09-17
Edward Z
.
Yang
Fix quadrati
c
beh
a
vior in DOM
L
ex due to array_shift
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-09-14
Edward Z
.
Yan
g
Proper
l
y use HMAC for sec
u
re
mungi
n
g
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-08-18
Marcu
s
Boi
n
ton
PSR-2 refor
m
attin
g
PHPDoc
c
orrections
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-27
E
dward Z
.
Yang
Tighten up invaria
n
ts
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-27
Edward Z
.
Yang
Explicit
l
y
spe
c
i
fy dec
o
rator name
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-27
Edward
Z
.
Yang
New directive %Core
.
Allo
w
HostnameUnders
c
ore
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-07-18
Ed
w
ard Z
.
Yang
A
d
d note fal
l
through is int
e
ntion
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 i
n
loadArray
commit
|
commitdiff
|
tree
2013-07-17
Syn
c
h
r
o
A bunch of PHPdoc and
php codesniff
e
r cor
r
ecti
o
ns
.
.
.
commit
|
commitdiff
|
tree
2013-06-06
E
d
ward Z
.
Yang
Mak
e
list n
e
s
t
ing test more s
e
nsitive
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-05-22
Edward
Z
.
Yang
Use info_parent_def
to get parent information, since
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-05-21
Edward Z
.
Yan
g
Ignore commas and nbsps for l
i
nkification
.
T
h
anks nAS
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-05-18
Ed
w
ard Z
.
Y
a
ng
Doc fix
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-04-16
Edward
Z
.
Yang
Make
U
R
I par
s
ing algor
i
th
m
m
ore s
t
rict
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-02-21
Edward Z
.
Yang
F
i
x NEWS entry
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-02-18
Edward Z
.
Yang
Rel
e
ase 4
.
5
.
0
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2013-02-17
Edward Z
.
Yang
Add
%Core
.
D
i
sableEx
c
ludes directive
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-12-21
Mic
h
ael
Tibben
Add
r
equired con
s
tan
t
fo
r
composer autoloading
commit
|
commitdiff
|
tree
2012-10-27
Edward Z
.
Ya
n
g
U
se SHA-1 in
s
te
a
d of
MD5
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-27
E
d
ward Z
.
Yang
Blackl
i
st more ta
g
s from RemoveEmpty
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-27
E
dward Z
.
Ya
n
g
Cleanup
a
fter data vali
d
atio
n
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-27
E
dward
Z
.
Yang
Do check
s
against i
c
onvAv
a
ilabl
e
because 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 b
u
g that needs to
get fixed
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-10-11
E
d
w
a
r
d
Z
.
Yang
CSS p
r
op
e
r
ties pag
e
-
b
r
e
ak-*
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-09-16
Rob Loach
Autoloading su
p
port
for Com
p
ose
r
commit
|
commitdiff
|
tree
2012-07-30
Edwa
r
d Z
.
Yang
Fix
bug
with non-lower ca
s
e color names
in HTML
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-07-27
E
d
w
ard Z
.
Y
ang
Permit u
n
de
r
sc
o
res in fon
t
-
f
a
milies
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-06-16
Edwa
r
d Z
.
Yang
More s
u
p
p
ort
f
or white-space
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-06-02
Edward Z
.
Yang
Don't
l
o
w
e
r-
c
ase componen
t
s of bac
k
ground
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-05-26
Edward Z
.
Yang
Support for in
l
ine-block
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-05-15
E
d
ward Z
.
Yan
g
Fix in At
t
rTra
n
s
for
m
_Nofollo
w
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-05-02
Edward
Z
.
Ya
n
g
U
se prepend for autoloading on PHP 5
.
3+
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-04-27
Edward
Z
.
Y
a
ng
Support for s
a
fe
e
xternal scripts via
explicit whitelist
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-03-17
Edward
Z
.
Y
a
n
g
Fix
prob
l
em
w
her
e
stac
k
ed AttrTransforms
clo
b
ber each
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-03-16
Benjamin Steininger
Add com
p
oser
.
json file for eas
y
ins
t
all via comp
o
ser
.
commit
|
commitdiff
|
tree
2012-03-02
Edward Z
.
Yang
Actually m
a
k
e
URI
.
Disabl
e
Resources do
s
ome
t
h
i
ng
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-02-18
Edward Z
.
Yang
B
u
gfi
x
: _blank not
blank
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-25
Edwar
d
Z
.
Ya
n
g
Update
NEWS
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-19
E
d
w
ard Z
.
Y
a
ng
Release 4
.
4
.
0
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-18
E
d
wa
r
d
Z
.
Yan
g
Make all of the
tests work on al
l
PHP ver
s
ions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-18
Edward Z
.
Y
a
ng
Avoid doing stup
i
dly cl
e
ver re
f
lection tricks
t
hat
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-18
Edward Z
.
Ya
n
g
Moderniz
e
s
o
me of the testing facili
t
ies
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-17
Edward Z
.
Yang
Tighter
CSS selecto
r
v
a
l
idation
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-06
Edw
a
rd Z
.
Y
a
ng
Remark a
b
out by
p
assi
n
g h
o
st l
i
s
t
with p
u
n
ycode
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-06
Edward Z
.
Y
a
ng
Optional support for IDNAs wit
h
PEAR Net_IDNA2
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2012-01-03
Edward
Z
.
Y
a
ng
R
e
move PEA
R
S
ax3 lexer
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-30
Edward
Z
.
Yang
Make
f
orms wo
r
k for tra
n
sitional
doctypes
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-27
Edwar
d
Z
.
Yang
Remove inscrutabl
e
TO
D
O,
op
t
ionalize anot
h
er
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-27
Edw
a
rd Z
.
Yang
Add note about
s
u
perseding m
o
dules in
T
ODO
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Ya
n
g
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
Edwa
r
d
Z
.
Yan
g
A
dd tes
t
for invali
d
SafeIframe usage
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Bradley M
.
F
r
o
ehle
Implement Iframe module, and provide
%HT
M
L
.
S
afe
I
fr
a
me
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Yang
A
dd more attrib
u
tions
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Yan
g
Implement %HTM
L
.
A
llowe
d
Comments and %H
T
ML
.
Allowed
C
ommentsRegex
p
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edw
a
r
d
Z
.
Ya
n
g
Fix broken
table cont
e
nt model, ea
s
ily seen in XHTML
1
.
1
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edwa
r
d Z
.
Yang
Pr
o
perly handle
nested subl
i
sts b
y
folding in
t
o
p
r
e
vious
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-26
Edward Z
.
Yang
Implement %HTML
.
TargetBlank
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
E
dward Z
.
Y
a
ng
Add
isBenig
n
and getDefaultScheme methods
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edward Z
.
Yang
Ad
d
a
little bit of docum
e
n
tation about contexts for
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Ed
w
ard Z
.
Yang
Co
r
e
.
EscapeNonASCIICharacte
r
s
now always works, even
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Ed
w
ar
d
Z
.
Yang
Add sup
p
ort for scope attri
b
ute
o
n td and
th
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
Edward
Z
.
Yang
Add one mor
e
test for SPL autoload
d
e
faults
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-25
E
dward Z
.
Yang
Fix iconv truncation bug
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-18
Edw
a
rd Z
.
Y
ang
Remove spurious abstract defin
i
tion
;
PHP
5
.
4 doesn
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-12-18
Edward Z
.
Yang
Don't unset parser variable; pla
y
s poorly
w
ith 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
Edwa
r
d Z
.
Y
ang
Don't ad
d
nofoll
o
w for matching ho
s
ts,
g
eneralize t
h
is
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
Ed
w
ard Z
.
Yang
Update INSTALL
t
o avoid
m
issing co
n
fig
s
nafu, update
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-08-24
E
dward
Z
.
Yang
Do not d
u
p
l
i
cate n
o
follow
att
r
i
b
ute in tr
a
nsform
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-04-19
E
dward Z
.
Yang
Explicitly in
i
t
i
a
lize anonModule
t
o nul
l
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-04-10
Edward Z
.
Ya
n
g
URI
.
Munge
m
unges
https to ht
t
p UR
I
s
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-04-10
Ed
w
ard Z
.
Y
a
ng
Color keywords now
case-insensi
t
ive
.
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
Edward
Z
.
Yang
Fix C
S
S URL
i
n
n
erHTML/cssText escaping bu
g
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-27
Ed
w
ard Z
.
Yang
Protect against fon
t
family inne
r
HTML/cs
s
Text atta
c
ks
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-27
Edward Z
.
Yang
Fix I
n
ternet
Expl
o
rer
i
nn
e
r
HTML bug
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-24
Edwa
r
d Z
.
Yang
Implement CSS
.
AllowedFonts
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-22
Edward Z
.
Y
ang
Don't autoclose if no parents support
the
t
ag
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-21
Edward Z
.
Yang
S
a
f
e
ty up
d
ate f
o
r
nested ul t
e
st
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-03-17
Edward Z
.
Yang
Fix E_NOTICE f
r
o
m indexi
n
g into
e
mpty
s
t
r
ing
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-02-27
Edward Z
.
Ya
n
g
Fix missing n
u
meric entities (s
h
ows up
w
hen DirectLexing)
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-25
Edward Z
.
Yan
g
Dramatica
l
l
y
rewr
i
te null host URI ha
n
d
l
ing
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-22
Edward Z
.
Yan
g
Fix e
m
b
e
ddin
g
flash on non-IE br
o
wsers and allow
m
or
e
.
.
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
2011-01-19
Maxim Krizhanovsky
Itera
t
ive traversal o
f
DOM
.
commit
|
commitdiff
|
tree
2011-01-14
Edwa
r
d Z
.
Yang
Bump version nu
m
b
er for Cache
.
SerializerPermissio
n
s
.
Signed-off-by:
Edward Z. Yang
<ezyang@mit.edu>
commit
|
commitdiff
|
tree
next