aboutsummaryrefslogtreecommitdiffstats
path: root/tests/php/Auto Links.text
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2011-12-28 13:11:48 -0500
committerWaylan Limberg <waylan@gmail.com>2011-12-28 13:11:48 -0500
commit07177cedb798d97213040f3086c4ba0d582dfbd4 (patch)
treec8a8743466e857fe39a5a4f0d08ade763d2ec759 /tests/php/Auto Links.text
parent0047fb45198d9123b0a7884326a881d42b0a5b5a (diff)
downloadmarkdown-07177cedb798d97213040f3086c4ba0d582dfbd4.tar.gz
markdown-07177cedb798d97213040f3086c4ba0d582dfbd4.tar.bz2
markdown-07177cedb798d97213040f3086c4ba0d582dfbd4.zip
Fixed #69. url_sanitize no longer crashes on unparsable urls.
Also optimized the code to bypass parsing when not in safe_mode and return immediately upon failure rather than continue parsing when in safe_mode. Note that in Python2.7+ more urls may fail than in older versions because IPv6 support was added to urlparse and it apparently mistakenly identifies some urls as IPv6 when they are not. Seeing this only applies to safe_mode now, I don't really care.
Diffstat (limited to 'tests/php/Auto Links.text')
0 files changed, 0 insertions, 0 deletions