Hello everyone.

Attach patch fixes (at least I think so) a problem with URI escaping.
Now every non-acsii char was escaped to %FF and that was leading to a
segfault in E when trying to drag'n'drop a file with Russian
chars in it's name.

BTW, I noticed the same problem in efreet_uri_escape(), probably someone
should fix that too.

-- 
King regards,
Fedor Gusev.
diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index 0493c05..b444d1f 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -3172,7 +3172,7 @@ _e_fm2_uri_escape(const char *path)
 	  dest[i] = *p;
 	else
 	  {
-	     snprintf(&(dest[i]), 4, "%%%02X", *p);
+	     snprintf(&(dest[i]), 4, "%%%02X", (unsigned char)*p);
 	     i += 2;
 	  }
      }
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to