Fixed an issue about urlize function #193

Merged
merged 1 commit into from Apr 12, 2013

Projects

None yet

2 participants

@mozillazg

When URL startswith 'https://', the return is wrong.
Before:

>>> urlize('https://github.com/')
u'<a href="http://https://github.com/">https://github.com/</a>'

After:

>>> urlize('https://github.com/')
u'<a href="https://github.com/">https://github.com/</a>'
@mozillazg mozillazg Fixed an issue about urlize function
When URL startswith 'https://', the return is wrong.
Before:

    >>> urlize('https://github.com/')
    u'<a href="http://https://github.com/">https://github.com/</a>'
After:

    >>> urlize('https://github.com/')
    u'<a href="https://github.com/">https://github.com/</a>'
6644893
@mitsuhiko mitsuhiko merged commit 05ce2a0 into pallets:master Apr 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment