diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2010-05-19 11:23:53 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2010-05-19 11:23:53 -0400 |
commit | c3bb441dd072089f9e6815d9d41c27b5d84aebde (patch) | |
tree | 0f7b40fef1fe47c9784677f9e80d75d999614bba /lisp/url/url-util.el | |
parent | ab0c07c0209012ff0010c2c24303ee7a4c33a514 (diff) | |
download | emacs-c3bb441dd072089f9e6815d9d41c27b5d84aebde.tar.gz emacs-c3bb441dd072089f9e6815d9d41c27b5d84aebde.tar.bz2 emacs-c3bb441dd072089f9e6815d9d41c27b5d84aebde.zip |
* url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
* editfns.c (Fbyte_to_string): New function.
* NEWS: Add sections for Emacs-23.3.
Diffstat (limited to 'lisp/url/url-util.el')
-rw-r--r-- | lisp/url/url-util.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/url/url-util.el b/lisp/url/url-util.el index c0b2595a6e0..e92ccc76285 100644 --- a/lisp/url/url-util.el +++ b/lisp/url/url-util.el @@ -322,10 +322,10 @@ forbidden in URL encoding." tmp (substring str 0 start) (cond (allow-newlines - (char-to-string code)) + (byte-to-string code)) ((or (= code ?\n) (= code ?\r)) " ") - (t (char-to-string code)))) + (t (byte-to-string code)))) str (substring str (match-end 0))))) (setq tmp (concat tmp str)) tmp)) |