From 7e74f0be20c04be31c4148db27ad384c8313c56c Mon Sep 17 00:00:00 2001 From: Leho Kraav Date: Mon, 29 Aug 2011 15:14:43 +0300 Subject: [PATCH] fix xdg-open open_generic mistakenly processes everything as file:// (BR34915) --- scripts/xdg-open | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/xdg-open b/scripts/xdg-open index fee4204..7397d14 100755 --- a/scripts/xdg-open +++ b/scripts/xdg-open @@ -414,7 +414,7 @@ open_generic() { # Paths or file:// URLs if (echo "$1" | grep -q '^file://' || - ! echo "$1" | egrep -q '^[a-zA-Z+\.\-]+:'); then + ! echo "$1" | egrep -q '^[[:alpha:]+\.\-]+:'); then local file="$1" -- 1.7.6