--- inkscape.orig/src/extension/system.cpp 2012-07-11 11:29:07.575639000 +0200 +++ inkscape.new/src/extension/system.cpp 2012-07-11 11:58:58.842659279 +0200 @@ -74,6 +74,16 @@ relpath &= (filename[0] != '\\') && !(isalpha(filename[0]) && (filename[1] == ':')); #endif + // Do not consider an URI as a relative path. + if (relpath) { + gchar const * cp = filename; + + while (isalpha(*cp) || isdigit(*cp) || *cp == '+' || *cp == '-' || *cp == '.') + cp++; + + relpath = *cp != ':' || cp[1] != '/' || cp[2] != '/'; + } + if (relpath) { gchar * curdir = NULL; #ifndef WIN32