← Back to team overview

zim-wiki team mailing list archive

URLs without domain do not get auto-hyperlinked

 

Hello,

zim version0.73.5-t202104131839~ubuntu18.04.1 on Ubuntu 18.04.5 LTS,
4.15.0-140-generic, x86_64

I've just updated from 0.68~rc1-2 to the above version. I have noticed that
when I paste URLs that contain only a hostname (e.g., https://site/path)
into a page, they don't get auto-hyperlinked. When the hostname is fully
qualified, the URLs do get auto-hyperlinked. Is this a known issue? Both
URL types would get auto-hyperlinked in the 0.68 version.

Steps to reproduce:
1. Paste or type a URL into a zim page
2. Hit <enter> or ctrl-R to refresh

Test cases:
Failing:
http://site
http://site/
http://site/path
https://site
https://site/
https://site/path

Passing:
http://site.test
http://site.test/
http://site.test/path
https://site.test
https://site.test/
https://site.test/path

Thanks,
-- 
Steve Chadsey <schadsey@xxxxxxxxx>

Follow ups