# HG changeset patch # User Jason Rumney # Date 1176334923 0 # Node ID 4d39a7fbbc3cb0300ab4c0c5f81ed8a730b6c144 # Parent 3136c115045319f1790444d85d45542d4ad869b2 (dnd-get-local-file-name): Decode both upper and lower case hex. Do not try to decode non-hex letters. diff -r 3136c1150453 -r 4d39a7fbbc3c lisp/dnd.el --- a/lisp/dnd.el Wed Apr 11 23:41:35 2007 +0000 +++ b/lisp/dnd.el Wed Apr 11 23:42:03 2007 +0000 @@ -146,7 +146,7 @@ (substring uri (match-end 0)))))) (when (and f must-exist) (setq f (replace-regexp-in-string - "%[A-Z0-9][A-Z0-9]" + "%[A-Fa-f0-9][A-Fa-f0-9]" (lambda (arg) (format "%c" (string-to-number (substring arg 1) 16))) f nil t))