summaryrefslogtreecommitdiff
path: root/surf-open.sh
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2015-11-20 16:39:53 +0100
committerQuentin Rameau <quinq@fifth.space>2015-11-20 16:39:53 +0100
commit84611a5d29d9522fab954625349e5c5ee5572abb (patch)
treef17ad47d6e88388755e686a0e4f935251809ac66 /surf-open.sh
parent5def2e51da62f46ca9f68af1ea8619d4a73caa87 (diff)
downloadsurf-84611a5d29d9522fab954625349e5c5ee5572abb.tar.gz
surf-84611a5d29d9522fab954625349e5c5ee5572abb.tar.bz2
surf-84611a5d29d9522fab954625349e5c5ee5572abb.zip
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.
Diffstat (limited to 'surf-open.sh')
0 files changed, 0 insertions, 0 deletions