[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7017: url-retrieve seems busted
From: |
Seth Mason |
Subject: |
bug#7017: url-retrieve seems busted |
Date: |
Mon, 07 May 2012 14:51:29 -0700 |
If you put the following in a buffer and eval it, you'll get a 404:
;; http://httpbin.org/get?x=1
;; eval this buffer
(url-retrieve (buffer-substring-no-properties 4 30) (lambda (&rest args)
(switch-to-buffer (current-buffer))))
If you curl/wget the same URL, it'll work fine.
If you look at the request, it's going to "/get%3fx%3d1". It seems to me
that the URL is getting improperly encoded for multibyte strings.
- bug#7017: url-retrieve seems busted,
Seth Mason <=