+
+ if(!g_str_has_prefix(uri, "http://") \
+ && !g_str_has_prefix(uri, "https://") \
+ && !g_str_has_prefix(uri, "about:") \
+ && !g_str_has_prefix(uri, "file://") \
+ && !g_str_has_prefix(uri, "data:") \
+ && !g_str_has_prefix(uri, "blob:") \
+ && strlen(uri) > 0) {
+
+ for(i = 0; i < strlen(uri); i++) {
+ if(!g_ascii_isprint(uri[i])) {
+ isascii = 0;
+ break;
+ }
+ }
+ if(isascii)
+ handleplumb(c, w, uri);
+ }