diff options
| author | Stefan Monnier | 2010-05-19 11:23:53 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2010-05-19 11:23:53 -0400 |
| commit | c3bb441dd072089f9e6815d9d41c27b5d84aebde (patch) | |
| tree | 0f7b40fef1fe47c9784677f9e80d75d999614bba /lisp | |
| parent | ab0c07c0209012ff0010c2c24303ee7a4c33a514 (diff) | |
| download | emacs-c3bb441dd072089f9e6815d9d41c27b5d84aebde.tar.gz 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')
| -rw-r--r-- | lisp/url/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/url/url-util.el | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index a1b045213da..232259f39ea 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * url-util.el (url-unhex-string): Don't accidentally decode as latin-1. | ||
| 4 | |||
| 1 | 2010-05-07 Chong Yidong <cyd@stupidchicken.com> | 5 | 2010-05-07 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * Version 23.2 released. | 7 | * Version 23.2 released. |
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." | |||
| 322 | tmp (substring str 0 start) | 322 | tmp (substring str 0 start) |
| 323 | (cond | 323 | (cond |
| 324 | (allow-newlines | 324 | (allow-newlines |
| 325 | (char-to-string code)) | 325 | (byte-to-string code)) |
| 326 | ((or (= code ?\n) (= code ?\r)) | 326 | ((or (= code ?\n) (= code ?\r)) |
| 327 | " ") | 327 | " ") |
| 328 | (t (char-to-string code)))) | 328 | (t (byte-to-string code)))) |
| 329 | str (substring str (match-end 0))))) | 329 | str (substring str (match-end 0))))) |
| 330 | (setq tmp (concat tmp str)) | 330 | (setq tmp (concat tmp str)) |
| 331 | tmp)) | 331 | tmp)) |