From: Quentin Rameau Date: Fri, 20 Nov 2015 15:39:53 +0000 (+0100) Subject: Adapt loaduri() X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=84611a5d29d9522fab954625349e5c5ee5572abb;hp=84611a5d29d9522fab954625349e5c5ee5572abb;p=surf.git Adapt loaduri() Better handling of different URIs. Filter out “about:” scheme, dont touch URI if it contains a complete scheme (we assume "://", denotes one), else test if given path is an actual reachable file on the filesystem, else prepend arbitrary http:// scheme. ---