]> www.fi.muni.cz Git - evince.git/commit - shell/ev-window.c
Do not fail to open external uri links that are relative paths
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 20 Dec 2009 17:26:27 +0000 (18:26 +0100)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 20 Dec 2009 17:32:08 +0000 (18:32 +0100)
commit4703212e1b44d4d385dc894cfbdc037db6e2112b
tree7411f7df3f7396d4d050f28b1d1c9fbfff397835
parentbf8fe0d26b7319b9ad3a8a79fbf618343f603c62
Do not fail to open external uri links that are relative paths

If an external uri is not a valid uri (it doesn't contain :// nor
mailto:) we assume it's http if it starts with www, otherwise we build a
new uri for the relative path with the document uri as base.
Fixes bgo#604716.
shell/ev-window.c