diff options
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)) |