From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 15 15:26:45 2016 Received: (at submit) by debbugs.gnu.org; 15 Aug 2016 19:26:45 +0000 Received: from localhost ([127.0.0.1]:58567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZNX2-0004dG-Gu for submit@debbugs.gnu.org; Mon, 15 Aug 2016 15:26:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45949) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZN6V-0003mh-BM for submit@debbugs.gnu.org; Mon, 15 Aug 2016 14:59:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZN6N-000243-HS for submit@debbugs.gnu.org; Mon, 15 Aug 2016 14:59:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZN6N-00023z-EE for submit@debbugs.gnu.org; Mon, 15 Aug 2016 14:59:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZN6J-0003s5-KX for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2016 14:59:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZN6F-00022g-FS for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2016 14:59:07 -0400 Received: from bender.ldn-fai.net ([80.67.188.162]:42566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZN6F-00022N-1u for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2016 14:59:03 -0400 From: Damien Cassou To: bug-gnu-emacs@gnu.org Subject: 25.1; Potential regression: Multibyte text in HTTP request Date: Mon, 15 Aug 2016 20:58:46 +0200 Message-ID: <877fbhc109.fsf@cassou.me> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 15 Aug 2016 15:26:43 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) I'm using Emacs 25 rc1 and org-caldav from https://github.com/dengste/org-caldav. The function #'org-caldav-sync (https://github.com/dengste/org-caldav/blob/master/org-caldav.el#L524) raises an error when a local event with accented characters is sent to the remote cardav server. When I switch to Emacs 24, the synchronization works perfectly. In GNU Emacs 25.1.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.6) of 2016-08-07 built on localhost Windowing system distributor 'The X.Org Foundation', version 11.0.11803000 Configured using: 'configure --disable-dependency-tracking --prefix=3D/nix/store/r602ppq51pa30vwj9xwr390dpqm44n24-emacs-25.1-rc1 --with-x-toolkit=3Dgtk3 --with-xft' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $EMACSLOADPATH: /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emac= s-packages-deps/share/emacs/site-lisp: value of $LC_MONETARY: fr_FR.UTF-8 value of $LC_NUMERIC: fr_FR.UTF-8 value of $LC_TIME: fr_FR.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Messages Minor modes in effect: shell-switcher-mode: t magit-auto-revert-mode: t global-git-commit-mode: t beacon-mode: t ace-window-display-mode: t helm-mode: t helm-descbinds-mode: t async-bytecomp-package-mode: t diff-auto-refine-mode: t global-paren-face-mode: t global-visible-mark-mode: t visible-mark-mode: t runner-run-in-background: t projectile-global-mode: t projectile-mode: t global-discover-mode: t discover-mode: t guide-key-mode: t global-undo-tree-mode: t undo-tree-mode: t drag-stuff-global-mode: t drag-stuff-mode: t shell-dirtrack-mode: t global-ethan-wspace-mode: t override-global-mode: t save-place-mode: t winner-mode: t show-paren-mode: t recentf-mode: t global-hl-line-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t global-prettify-symbols-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: UID:86d3c6f5-14e0-4b1c-9444-27d4271a47c5 DTSTART;VALUE=3DDATE:20160820 DTEND;VALUE=3DDATE:20160821 RRULE:FREQ=3DYEARLY;INTERVAL=3D1 SUMMARY:Anniversaire d=E2=80=99Ana=AFs (2016) DESCRIPTION: CATEGORIES:schplaf END:VEVENT END:VCALENDAR Load-path shadows: /nix/store/03bz4mi799mq4ji7rwfq0sjgnmw6hnm0-notmuch-0.22/share/emacs/site-l= isp/notmuch-maildir-fcc hides /home/cassou/.nix-profile/share/emacs/site-li= sp/notmuch-maildir-fcc /nix/store/03bz4mi799mq4ji7rwfq0sjgnmw6hnm0-notmuch-0.22/share/emacs/site-l= isp/notmuch-tag hides /home/cassou/.nix-profile/share/emacs/site-lisp/notmu= ch-tag /nix/store/03bz4mi799mq4ji7rwfq0sjgnmw6hnm0-notmuch-0.22/share/emacs/site-l= isp/notmuch-mua hides /home/cassou/.nix-profile/share/emacs/site-lisp/notmu= ch-mua /nix/store/03bz4mi799mq4ji7rwfq0sjgnmw6hnm0-notmuch-0.22/share/emacs/site-l= isp/notmuch-hello hides /home/cassou/.nix-profile/share/emacs/site-lisp/not= much-hello /nix/store/03bz4mi799mq4ji7rwfq0sjgnmw6hnm0-notmuch-0.22/share/emacs/site-l= isp/notmuch-address hides /home/cassou/.nix-profile/share/emacs/site-lisp/n= otmuch-address /nix/store/03bz4mi799mq4ji7rwfq0sjgnmw6hnm0-notmuch-0.22/share/emacs/site-l= isp/notmuch-show hides /home/cassou/.nix-profile/share/emacs/site-lisp/notm= uch-show /nix/store/03bz4mi799mq4ji7rwfq0sjgnmw6hnm0-notmuch-0.22/share/emacs/site-l= isp/notmuch-query hides /home/cassou/.nix-profile/share/emacs/site-lisp/not= much-query /nix/store/03bz4mi799mq4ji7rwfq0sjgnmw6hnm0-notmuch-0.22/share/emacs/site-l= isp/notmuch-print hides /home/cassou/.nix-profile/share/emacs/site-lisp/not= much-print /nix/store/03bz4mi799mq4ji7rwfq0sjgnmw6hnm0-notmuch-0.22/share/emacs/site-l= isp/notmuch-jump hides /home/cassou/.nix-profile/share/emacs/site-lisp/notm= uch-jump /nix/store/03bz4mi799mq4ji7rwfq0sjgnmw6hnm0-notmuch-0.22/share/emacs/site-l= isp/notmuch-wash hides /home/cassou/.nix-profile/share/emacs/site-lisp/notm= uch-wash /nix/store/03bz4mi799mq4ji7rwfq0sjgnmw6hnm0-notmuch-0.22/share/emacs/site-l= isp/coolj hides /home/cassou/.nix-profile/share/emacs/site-lisp/coolj /nix/store/03bz4mi799mq4ji7rwfq0sjgnmw6hnm0-notmuch-0.22/share/emacs/site-l= isp/notmuch-tree hides /home/cassou/.nix-profile/share/emacs/site-lisp/notm= uch-tree /nix/store/03bz4mi799mq4ji7rwfq0sjgnmw6hnm0-notmuch-0.22/share/emacs/site-l= isp/notmuch-company hides /home/cassou/.nix-profile/share/emacs/site-lisp/n= otmuch-company /nix/store/03bz4mi799mq4ji7rwfq0sjgnmw6hnm0-notmuch-0.22/share/emacs/site-l= isp/notmuch-crypto hides /home/cassou/.nix-profile/share/emacs/site-lisp/no= tmuch-crypto /nix/store/03bz4mi799mq4ji7rwfq0sjgnmw6hnm0-notmuch-0.22/share/emacs/site-l= isp/notmuch-version hides /home/cassou/.nix-profile/share/emacs/site-lisp/n= otmuch-version /nix/store/03bz4mi799mq4ji7rwfq0sjgnmw6hnm0-notmuch-0.22/share/emacs/site-l= isp/notmuch-lib hides /home/cassou/.nix-profile/share/emacs/site-lisp/notmu= ch-lib /nix/store/03bz4mi799mq4ji7rwfq0sjgnmw6hnm0-notmuch-0.22/share/emacs/site-l= isp/notmuch-message hides /home/cassou/.nix-profile/share/emacs/site-lisp/n= otmuch-message /nix/store/03bz4mi799mq4ji7rwfq0sjgnmw6hnm0-notmuch-0.22/share/emacs/site-l= isp/notmuch-parser hides /home/cassou/.nix-profile/share/emacs/site-lisp/no= tmuch-parser /nix/store/03bz4mi799mq4ji7rwfq0sjgnmw6hnm0-notmuch-0.22/share/emacs/site-l= isp/notmuch hides /home/cassou/.nix-profile/share/emacs/site-lisp/notmuch /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/avy-0.3.0/avy hides /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7a= ngyz-emacs-packages-deps/share/emacs/site-lisp/elpa/avy-0.4.0/avy /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/avy-0.3.0/avy-pkg hides /nix/store/jzmx884q0xfhzcqlhx1zdppf= 7g7angyz-emacs-packages-deps/share/emacs/site-lisp/elpa/avy-0.4.0/avy-pkg /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/avy-0.3.0/avy-autoloads hides /nix/store/jzmx884q0xfhzcqlhx= 1zdppf7g7angyz-emacs-packages-deps/share/emacs/site-lisp/elpa/avy-0.4.0/avy= -autoloads /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/bind-key-2.2/bind-key hides /nix/store/jzmx884q0xfhzcqlhx1z= dppf7g7angyz-emacs-packages-deps/share/emacs/site-lisp/elpa/bind-key-201503= 21/bind-key /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/bind-key-2.2/bind-key-pkg hides /nix/store/jzmx884q0xfhzcql= hx1zdppf7g7angyz-emacs-packages-deps/share/emacs/site-lisp/elpa/bind-key-20= 150321/bind-key-pkg /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/bind-key-2.2/bind-key-autoloads hides /nix/store/jzmx884q0x= fhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs/site-lisp/elpa/bind-= key-20150321/bind-key-autoloads /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/f-0.18.2/f hides /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angy= z-emacs-packages-deps/share/emacs/site-lisp/elpa/f-20151113/f /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/f-0.18.2/f-pkg hides /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7= angyz-emacs-packages-deps/share/emacs/site-lisp/elpa/f-20151113/f-pkg /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/f-0.18.2/f-autoloads hides /nix/store/jzmx884q0xfhzcqlhx1zd= ppf7g7angyz-emacs-packages-deps/share/emacs/site-lisp/elpa/f-20151113/f-aut= oloads /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/helm-1.9.9/helm-multi-match hides /nix/store/jzmx884q0xfhzc= qlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs/site-lisp/elpa/helm-core= -1.9.9/helm-multi-match /run/current-system/sw/share/emacs/site-lisp/nix-mode hides /nix/store/jzmx= 884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs/site-lisp/elpa= /nix-mode-1.11.2/nix-mode /home/cassou/.nix-profile/share/emacs/site-lisp/password-store hides /nix/s= tore/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs/site-= lisp/elpa/password-store-1.6.5/password-store /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/projectile-0.13.0/projectile hides /nix/store/jzmx884q0xfhz= cqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs/site-lisp/elpa/projecti= le-0.14.0/projectile /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/projectile-0.13.0/projectile-autoloads hides /nix/store/jzm= x884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs/site-lisp/elp= a/projectile-0.14.0/projectile-autoloads /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/projectile-0.13.0/projectile-pkg hides /nix/store/jzmx884q0= xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs/site-lisp/elpa/proj= ectile-0.14.0/projectile-pkg /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/s-1.11.0/s hides /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angy= z-emacs-packages-deps/share/emacs/site-lisp/elpa/s-20151023/s /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/s-1.11.0/s-pkg hides /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7= angyz-emacs-packages-deps/share/emacs/site-lisp/elpa/s-20151023/s-pkg /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/s-1.11.0/s-autoloads hides /nix/store/jzmx884q0xfhzcqlhx1zd= ppf7g7angyz-emacs-packages-deps/share/emacs/site-lisp/elpa/s-20151023/s-aut= oloads /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/counsel-0.8.0/counsel hides /nix/store/jzmx884q0xfhzcqlhx1z= dppf7g7angyz-emacs-packages-deps/share/emacs/site-lisp/elpa/swiper-0.7.0/co= unsel /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/wgrep-20141017/wgrep-helm hides /nix/store/jzmx884q0xfhzcql= hx1zdppf7g7angyz-emacs-packages-deps/share/emacs/site-lisp/elpa/wgrep-helm-= 2.1.10/wgrep-helm /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/org-vcard-0.1.0/styles/flat/functions hides /nix/store/jzmx= 884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs/site-lisp/elpa= /org-vcard-0.1.0/styles/tree/functions /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/skeletor-1.6.1/project-skeletons/elisp-package/__DOT__dir-l= ocals hides /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps= /share/emacs/site-lisp/elpa/skeletor-1.6.1/project-skeletons/elisp-package-= with-docs/__DOT__dir-locals /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/skeletor-1.6.1/project-skeletons/elisp-package/__PROJECT-NA= ME__ hides /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/= share/emacs/site-lisp/elpa/skeletor-1.6.1/project-skeletons/elisp-package-w= ith-docs/__PROJECT-NAME__ /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/skeletor-1.6.1/project-skeletons/elisp-package/test/__PROJE= CT-NAME__-tests hides /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-pac= kages-deps/share/emacs/site-lisp/elpa/skeletor-1.6.1/project-skeletons/elis= p-package-with-docs/test/__PROJECT-NAME__-tests /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/site-start hides /nix/store/r602ppq51pa30vwj9xwr390dpqm44n24-ema= cs-25.1-rc1/share/emacs/site-lisp/site-start /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/let-alist-1.0.4/let-alist hides /nix/store/r602ppq51pa30vwj= 9xwr390dpqm44n24-emacs-25.1-rc1/share/emacs/25.1/lisp/emacs-lisp/let-alist /nix/store/jzmx884q0xfhzcqlhx1zdppf7g7angyz-emacs-packages-deps/share/emacs= /site-lisp/elpa/seq-2.16/seq hides /nix/store/r602ppq51pa30vwj9xwr390dpqm44= n24-emacs-25.1-rc1/share/emacs/25.1/lisp/emacs-lisp/seq Features: (shadow emacsbug cal-move mm-archive htmlfontify ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util parse-time org-agenda tabify org-table ox-beamer org-capture org-protocol url-cache org-caldav org-id url-dav url-http url-auth url-gw url-handlers helm-command em-unix em-term term disp-table ehelp em-script em-prompt em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner em-alias shell-switcher rswitcher network-stream nsm starttls tls gnutls mailalias mail-extr vdirel org-vcard ox-twbs ox-latex ox-icalendar ox-html ox-ascii ox-publish ox org-element org org-macro org-footnote org-pcomplete org-list org-faces org-entities org-version ob-python ob-java ob-emacs-lisp ob-sh ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs sort notmuch-jump notmuch notmuch-message notmuch-maildir-fcc notmuch-hello notmuch-tree notmuch-show notmuch-print notmuch-crypto notmuch-mua notmuch-address notmuch-company notmuch-parser notmuch-wash coolj notmuch-query goto-addr icalendar diary-lib diary-loaddefs cal-menu calendar cal-loaddefs notmuch-tag notmuch-lib notmuch-version mm-view mml-smime smime dig smartscan nix-mode ido tramp-cache linum esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups magit-blame magit-stash magit-bisect magit-remote magit-commit epa magit-sequence magit helm-eshell helm-elisp helm-eval edebug eshell esh-module esh-mode esh-util magit-apply magit-wip magit-log magit-diff derived smerge-mode magit-core magit-autorevert autorevert filenotify magit-process magit-popup magit-mode magit-git crm magit-section magit-utils git-commit log-edit pcvs-util add-log with-editor tramp-sh server flyspell ispell beacon nameless auth-password-store beginend flycheck-cask flycheck-package lisp-mnt flycheck json map subr-x noutline outline ace-window password-store f s youtube helm-mode helm-descbinds helm-config helm-easymenu async-bytecomp async aggressive-indent git-timemachine vc-git diff-mode find-func paren-face visible-mark git-auto-commit-mode paredit iso-transl profile smtpmail sendmail cus-edit message rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader unify-opening helm-projectile helm-files rx image-dired tramp tramp-compat tramp-loaddefs trampver ucs-normalize format-spec ffap helm-tags helm-bookmark helm-adaptive helm-info bookmark pp helm-external helm-net browse-url xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source gnus-util mm-util help-fns mail-prsvr password-cache url-vars mailcap helm-buffers helm-grep wgrep-helm wgrep helm-regexp helm-elscreen helm-utils helm-locate helm-help helm-types helm helm-source eieio-compat eieio eieio-core helm-multi-match helm-lib dired-imenu imenu runner dired-aux dired-x dired projectile grep ibuf-ext ibuffer dash thingatpt discover makey guide-key face-remap popwin undo-tree diff drag-stuff tex-mode compile shell pcomplete comint ansi-color calc-prog calc-ext calc calc-loaddefs calc-macs ace-link avy ethan-wspace edmacro kmacro zerodark-theme use-package diminish bind-key easy-mmode finder-inf tex-site advice cl-seq cl-macs cl info package epg-config seq seq-25 byte-opt gv bytecomp byte-compile cl-extra help-mode cconv saveplace winner ring paren recentf tree-widget wid-edit cl-loaddefs pcase cl-lib easymenu hl-line cus-start cus-load time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 711921 384227) (symbols 48 56735 83) (miscs 40 10218 12651) (strings 32 144440 74389) (string-bytes 1 6921745) (vectors 16 84308) (vector-slots 8 2061323 196674) (floats 8 666 2545) (intervals 56 19321 11810) (buffers 976 64) (heap 1024 78340 26129)) -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 15 17:52:23 2016 Received: (at 24239) by debbugs.gnu.org; 15 Aug 2016 21:52:23 +0000 Received: from localhost ([127.0.0.1]:58602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZPny-0008Gd-RX for submit@debbugs.gnu.org; Mon, 15 Aug 2016 17:52:22 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:37834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZPnw-0008GQ-5R for 24239@debbugs.gnu.org; Mon, 15 Aug 2016 17:52:21 -0400 Received: by mail-wm0-f50.google.com with SMTP id i5so129071340wmg.0 for <24239@debbugs.gnu.org>; Mon, 15 Aug 2016 14:52:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=ojevRk39OkXmbX8+0T8dEzTb/Tp21u0zVx6RGK7gIhc=; b=xMRMhroQodl/XD1aS0RQDjsNZVsvm5bNXZzUPPJ8b2k1ztX7O+bUHnS1Si2swSP39N mgjxWXwdbilf5waQxgJd1tetCcSMlK612kX3uAN/aiMspwhs8m0dfWGm5sSBB+sI7Mpj hPBflFsLY6NXfA0a8ZBhNmAcpVa4mDSitbWO1iFtrCRCdF/ngFFeHoeAaqisUa14A7j3 c23FiGS7lmeoiX3v3zWTPWz4dMLqjAw4k94tPdCZDhb0wCd7y3H27hsWmOfO9iWQEdvT 1brO17VZ3J4mWw8BDYSEpDiWbAm0ddewrA6w23DZzezrwVZSK77xqZJ/kDMu3Rz4NmIA +MiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=ojevRk39OkXmbX8+0T8dEzTb/Tp21u0zVx6RGK7gIhc=; b=VQXO9+tBDDoUTtzu6wFnVQdAscFhe1Yhs8KMcBoR2GYRCQYSkkG1sQIVg/FVjJCvhl Im+o9JvdoIWlcuqefgjm6KsjiFqSocFPclFHu/uCAtJ6AGbL4q09EROM8okM4iSI5Oz0 os7arXNynfIa+tpcrzYZgUW910ud3bJ+wFu2yLik+CysZEEjJh+uOIiXujDeGzD+Fy1P YZ4fdWKaq4EU6DyGPyuYYU8l88vC7DOnR3uuSl/iivfT/bVKafy1BKRDf26PkggHUOhH 1OwjBeIAdZxKc5hx0yTeVNSaBAmGX7ThGaqzNajFhCVr7vPzQQhKvtO2khJRg41/5Ve+ 0Y/Q== X-Gm-Message-State: AEkoous59oFiVsdbb8HELJPYoRLqwCyF2KinRPME3hvlTVMvmPiaN73u/FIdbErvDR0k8w== X-Received: by 10.25.127.214 with SMTP id a205mr4901556lfd.142.1471297933329; Mon, 15 Aug 2016 14:52:13 -0700 (PDT) Received: from [192.168.1.190] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id 62sm317477ljj.3.2016.08.15.14.52.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Aug 2016 14:52:12 -0700 (PDT) Subject: Re: bug#24239: 25.1; Potential regression: Multibyte text in HTTP request To: Damien Cassou , 24239@debbugs.gnu.org References: <877fbhc109.fsf@cassou.me> From: Dmitry Gutov Message-ID: Date: Tue, 16 Aug 2016 00:52:10 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Thunderbird/47.0 MIME-Version: 1.0 In-Reply-To: <877fbhc109.fsf@cassou.me> Content-Type: text/plain; charset=ibm866; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 24239 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) On 08/15/2016 09:58 PM, Damien Cassou wrote: > > I'm using Emacs 25 rc1 and org-caldav from > https://github.com/dengste/org-caldav. The function #'org-caldav-sync > (https://github.com/dengste/org-caldav/blob/master/org-caldav.el#L524) > raises an error when a local event with accented characters is sent to > the remote cardav server. org-caldav probably binds url-request-data to a multibyte string. It should convert that to unibyte. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 16 02:24:00 2016 Received: (at 24239) by debbugs.gnu.org; 16 Aug 2016 06:24:00 +0000 Received: from localhost ([127.0.0.1]:58713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZXn6-0000Gr-Eu for submit@debbugs.gnu.org; Tue, 16 Aug 2016 02:24:00 -0400 Received: from bender.ldn-fai.net ([80.67.188.162]:37716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZXn4-0000Gi-Mi for 24239@debbugs.gnu.org; Tue, 16 Aug 2016 02:23:59 -0400 From: Damien Cassou To: Dmitry Gutov , 24239@debbugs.gnu.org Subject: Re: bug#24239: 25.1; Potential regression: Multibyte text in HTTP request In-Reply-To: References: <877fbhc109.fsf@cassou.me> Date: Tue, 16 Aug 2016 08:23:50 +0200 Message-ID: <87twel6xl5.fsf@cassou.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 24239 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Hi Dmitry, Dmitry Gutov writes: > On 08/15/2016 09:58 PM, Damien Cassou wrote: >> I'm using Emacs 25 rc1 and org-caldav from >> https://github.com/dengste/org-caldav. The function #'org-caldav-sync >> (https://github.com/dengste/org-caldav/blob/master/org-caldav.el#L524) >> raises an error when a local event with accented characters is sent to >> the remote cardav server. > > org-caldav probably binds url-request-data to a multibyte string. It > should convert that to unibyte. thank you very much for your very fast answer. I hope that will help me fix my problem. Can you please help me understand what you say by answering these questions? Thanks. - what will happen to my multibyte characters (such as ⇒) that I'm using for months and that worked well with Emacs 24? - where is the unibyte conversion requirement discussed in the url library documentation? - where is the behavior change discussed in the Emacs' changelog? Thank you again. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 16 04:16:35 2016 Received: (at 24239) by debbugs.gnu.org; 16 Aug 2016 08:16:35 +0000 Received: from localhost ([127.0.0.1]:58752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZZY3-0004TU-AK for submit@debbugs.gnu.org; Tue, 16 Aug 2016 04:16:35 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:38349) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZZY1-0004TI-V9 for 24239@debbugs.gnu.org; Tue, 16 Aug 2016 04:16:34 -0400 Received: by mail-wm0-f52.google.com with SMTP id o80so150217045wme.1 for <24239@debbugs.gnu.org>; Tue, 16 Aug 2016 01:16:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=op41lc7S0KluDFIFTBg1Lcyp14HnEqAksWXouPZ/wq0=; b=A4e3By3YgEGS+jAIDwzVOaNo25vdYUHaYA7qu9cDKpNewQz8FqtkpF2+EG1Vc8UiEm al8/PvwV/SsqYABXyY9Aag9Qai27ASHkkr2AMmfQ8AAi+Zei2XePMWTTwpFxBOkJzl+m 7E5QdzkH8TQWq/yprWtRfP5gqq55UmR1+VUVOyhCgwIhqAMmFXnKEqoRL8Cjcmg84BK+ jyWlnQHskjoKIlYBsUAm/QZr0rpNDTl29NHV2UrSu1mfmhUfYK0TdfhrZg8BJR7k77On zGxV9QrQPQVangZL5GxkP7dXH5jqq/D/5C+W2sgXbZeWQKpFz9kgtxila89BqKhGWUIO dvpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=op41lc7S0KluDFIFTBg1Lcyp14HnEqAksWXouPZ/wq0=; b=S845u+98y9j19Hy+Xixt5xMAlixJMezuo7wyxgVv8UuLcvoBD7HEFnTpQckkX37KUb V2wk6h2FnCjvf4h08xY3NJEw/07LP/3W9Is13ienFfjd9QNmmCgnLWSS6y51Frw8KUwW L/8DTs6Xqn42s+mA2SDTCAwDPNeMzNxaGdX7kOITdJCd5XeMRRpSwvwZ+ylcL68eMlup 7QcUh3C/MYIkv4bBTCv84R48EtqR2ObvwmwcW0GqA1CTweryghJLUqlg5WIN76GDYzgR vEfGCpnkG+q1URbkesQhys8N+x/so2S3n12LsOa1w2d3TmgELkJC5Sb2PpohdHHehBRu AeGA== X-Gm-Message-State: AEkoouvZxKcEv5d/c1w6nmUgbtOjxra5p4343mgo5NpHsOOY1h7Ei4JF83F2a7csfrZoog== X-Received: by 10.25.77.15 with SMTP id a15mr5891196lfb.179.1471335388157; Tue, 16 Aug 2016 01:16:28 -0700 (PDT) Received: from [192.168.1.190] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id r196sm3997725lfd.41.2016.08.16.01.16.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Aug 2016 01:16:27 -0700 (PDT) Subject: Re: bug#24239: 25.1; Potential regression: Multibyte text in HTTP request To: Damien Cassou , 24239@debbugs.gnu.org References: <877fbhc109.fsf@cassou.me> <87twel6xl5.fsf@cassou.me> From: Dmitry Gutov Message-ID: <5c4a3484-735b-10df-8fe9-89323fbe43c3@yandex.ru> Date: Tue, 16 Aug 2016 11:16:26 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Thunderbird/47.0 MIME-Version: 1.0 In-Reply-To: <87twel6xl5.fsf@cassou.me> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 24239 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) On 08/16/2016 09:23 AM, Damien Cassou wrote: > - what will happen to my multibyte characters (such as ⇒) that I'm using > for months and that worked well with Emacs 24? Unibyte != ASCII. Use encode-coding-string. > - where is the behavior change discussed in the Emacs' changelog? We normally don't mention bug fixes in there. Binding url-request-data to a string with multibyte characters never actually worked properly (it resulted in a wrong Content-Length value). Some servers may have ignored that, but some may have even corrupted data silently. > - where is the unibyte conversion requirement discussed in the url > library documentation? Patch welcome? From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 16 11:02:14 2016 Received: (at 24239) by debbugs.gnu.org; 16 Aug 2016 15:02:14 +0000 Received: from localhost ([127.0.0.1]:59402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZfsb-0007PK-Sw for submit@debbugs.gnu.org; Tue, 16 Aug 2016 11:02:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60559) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZfsa-0007P5-Aa for 24239@debbugs.gnu.org; Tue, 16 Aug 2016 11:02:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZfsR-0004ZM-7w for 24239@debbugs.gnu.org; Tue, 16 Aug 2016 11:02:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZfsR-0004Z6-52; Tue, 16 Aug 2016 11:02:03 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2662 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bZfsO-0005fl-TE; Tue, 16 Aug 2016 11:02:01 -0400 Date: Tue, 16 Aug 2016 18:01:58 +0300 Message-Id: <83bn0sg3kp.fsf@gnu.org> From: Eli Zaretskii To: Dmitry Gutov In-reply-to: <5c4a3484-735b-10df-8fe9-89323fbe43c3@yandex.ru> (message from Dmitry Gutov on Tue, 16 Aug 2016 11:16:26 +0300) Subject: Re: bug#24239: 25.1; Potential regression: Multibyte text in HTTP request References: <877fbhc109.fsf@cassou.me> <87twel6xl5.fsf@cassou.me> <5c4a3484-735b-10df-8fe9-89323fbe43c3@yandex.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 24239 Cc: damien@cassou.me, 24239@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) > From: Dmitry Gutov > Date: Tue, 16 Aug 2016 11:16:26 +0300 > > > - where is the behavior change discussed in the Emacs' changelog? > > We normally don't mention bug fixes in there. Binding url-request-data > to a string with multibyte characters never actually worked properly (it > resulted in a wrong Content-Length value). Some servers may have ignored > that, but some may have even corrupted data silently. I guess you are talking about NEWS, not ChangeLog. It's tru we don't describe bug-fixes in NEWS, but we do describe incompatible changes. So I think it would be good to document this change there. Could you suggest some simple description of that? (I don't understand the details of the use case well enough to do that myself -- how is the value of url-request-data related to the change we made in url-http-create-request?) Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 16 21:32:34 2016 Received: (at 24239) by debbugs.gnu.org; 17 Aug 2016 01:32:34 +0000 Received: from localhost ([127.0.0.1]:59602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZpib-0001jD-SJ for submit@debbugs.gnu.org; Tue, 16 Aug 2016 21:32:34 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZpib-0001iU-05 for 24239@debbugs.gnu.org; Tue, 16 Aug 2016 21:32:33 -0400 Received: by mail-wm0-f66.google.com with SMTP id i5so19552336wmg.2 for <24239@debbugs.gnu.org>; Tue, 16 Aug 2016 18:32:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=LrSilRqavgsQdfgzEfFivLcwlr2NqAC6RIuOyvz/dGU=; b=z+/RvX0g96jLPLGv7GScMMw0rXcEFaozPDcvIfA0k0Y1lXjDECkHj1UYnKlYg/MPRt D3RO4KfPcPbvDP1txr2Fz6SZ9yNvVHmiw5ZjCkCOjYTW7oF4lFRLkGv7o+39RJOfh9Tf apAVh5Bnt5hu3sHZ8BUI9kbmVsfg30SMsMbqsfEGbs0y5wYgFL5zvhXY7f0QzBz/igvd 44QniVnJQBpleoqCdgxqFqzyPg0KRVmZm7J9z6cF9T0t5WhRAkC6W4Rwn0sX/qtTm5MQ d0ScJ0/pIissMfTluNTG6QBf5ucc8dYNwgNczC3Gx35xAVeZpIyI1c6fbgYlJUbFld9U M68w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=LrSilRqavgsQdfgzEfFivLcwlr2NqAC6RIuOyvz/dGU=; b=FLmbD/MP7Y6br/+fDkr4dbp+lkMtTTTA1K9QhjBu0eCG9ZV+3YELlxzrJJ/KmAoOEy kWSPpBVp+sA4zuHcJ5kKE7ggH2zrvUkdTMIYdDzXXLRN0vFtmQD6M3a8dt6F+9P8eaDj O7CtbolHA2tYV9gaIJT3TFqOiJHeFjndf1uvJcJyj1nUsiDVTY49DjdkzGQc40+QHDCo 0P+OIkUnlKFICKcLAgTuByISzxuKGLSuwj9e7HD9PdHnslgYVAdaLvthLb9dI9BP3bGK np19gWXfWm8PF5gkx7ufrROOCZ33pSbuJWMjA5OfmvA/YbIAF8PkiOU4isEt4Gw+8I1W 3QsA== X-Gm-Message-State: AEkoouuauVoeUP1VTnqM9AnvWvKfG0vw4SjQzSzZcD0rE7/llWk01L7WUc1f7nqcdU6wAw== X-Received: by 10.25.20.226 with SMTP id 95mr6707042lfu.194.1471397547137; Tue, 16 Aug 2016 18:32:27 -0700 (PDT) Received: from [192.168.1.190] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id 206sm1200553ljj.4.2016.08.16.18.32.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Aug 2016 18:32:26 -0700 (PDT) Subject: Re: bug#24239: 25.1; Potential regression: Multibyte text in HTTP request To: Eli Zaretskii References: <877fbhc109.fsf@cassou.me> <87twel6xl5.fsf@cassou.me> <5c4a3484-735b-10df-8fe9-89323fbe43c3@yandex.ru> <83bn0sg3kp.fsf@gnu.org> From: Dmitry Gutov Message-ID: <0f709753-d7d8-c2ab-f8c2-19ff87316d60@yandex.ru> Date: Wed, 17 Aug 2016 04:32:24 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Thunderbird/47.0 MIME-Version: 1.0 In-Reply-To: <83bn0sg3kp.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 24239 Cc: damien@cassou.me, 24239@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) On 08/16/2016 06:01 PM, Eli Zaretskii wrote: > I guess you are talking about NEWS, not ChangeLog. Yup. That's what I gathered Damien to mean, considering we do mention this change in the generated ChangeLog. > It's tru we don't > describe bug-fixes in NEWS, but we do describe incompatible changes. > So I think it would be good to document this change there. Could you > suggest some simple description of that? Something like "url-request-data is not allowed to be bound to a multibyte value; if your request body is multibyte (which is the usual case, by the way), convert it with encode-coding-string". Hmm... by the way, we could also mention that json-encode now keeps most multibyte characters as-is. Which is the reason we had to scramble to fix this problem with the URL package. > (I don't understand the > details of the use case well enough to do that myself -- how is the > value of url-request-data related to the change we made in > url-http-create-request?) The related change is for the previous bug report (23750), and the commit a98aa02a that added the "Multibyte text in HTTP request" error. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 16 22:44:21 2016 Received: (at 24239) by debbugs.gnu.org; 17 Aug 2016 02:44:21 +0000 Received: from localhost ([127.0.0.1]:59624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZqq5-0005AH-4o for submit@debbugs.gnu.org; Tue, 16 Aug 2016 22:44:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZqq2-0005A4-1s for 24239@debbugs.gnu.org; Tue, 16 Aug 2016 22:44:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZqpu-0006xh-EQ for 24239@debbugs.gnu.org; Tue, 16 Aug 2016 22:44:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZqpu-0006xd-Ax; Tue, 16 Aug 2016 22:44:10 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1073 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bZqps-0006N0-Gn; Tue, 16 Aug 2016 22:44:08 -0400 Date: Wed, 17 Aug 2016 05:44:10 +0300 Message-Id: <837fbgf72d.fsf@gnu.org> From: Eli Zaretskii To: Dmitry Gutov In-reply-to: <0f709753-d7d8-c2ab-f8c2-19ff87316d60@yandex.ru> (message from Dmitry Gutov on Wed, 17 Aug 2016 04:32:24 +0300) Subject: Re: bug#24239: 25.1; Potential regression: Multibyte text in HTTP request References: <877fbhc109.fsf@cassou.me> <87twel6xl5.fsf@cassou.me> <5c4a3484-735b-10df-8fe9-89323fbe43c3@yandex.ru> <83bn0sg3kp.fsf@gnu.org> <0f709753-d7d8-c2ab-f8c2-19ff87316d60@yandex.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 24239 Cc: damien@cassou.me, 24239@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) > Cc: damien@cassou.me, 24239@debbugs.gnu.org > From: Dmitry Gutov > Date: Wed, 17 Aug 2016 04:32:24 +0300 > > > It's tru we don't > > describe bug-fixes in NEWS, but we do describe incompatible changes. > > So I think it would be good to document this change there. Could you > > suggest some simple description of that? > > Something like "url-request-data is not allowed to be bound to a > multibyte value; if your request body is multibyte (which is the usual > case, by the way), convert it with encode-coding-string". Thanks, I added something like that to NEWS. > Hmm... by the way, we could also mention that json-encode now keeps most > multibyte characters as-is. Which is the reason we had to scramble to > fix this problem with the URL package. If you can add this to NEWS in time for RC2, please do. > > (I don't understand the > > details of the use case well enough to do that myself -- how is the > > value of url-request-data related to the change we made in > > url-http-create-request?) > > The related change is for the previous bug report (23750), and the > commit a98aa02a that added the "Multibyte text in HTTP request" error. Yes, but how is url-request-data related? And are there any other variables that should be mentioned? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 16 23:57:17 2016 Received: (at 24239) by debbugs.gnu.org; 17 Aug 2016 03:57:17 +0000 Received: from localhost ([127.0.0.1]:59651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZryf-0006z3-Aq for submit@debbugs.gnu.org; Tue, 16 Aug 2016 23:57:17 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:34766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZryd-0006yr-HM for 24239@debbugs.gnu.org; Tue, 16 Aug 2016 23:57:15 -0400 Received: by mail-wm0-f68.google.com with SMTP id q128so20018397wma.1 for <24239@debbugs.gnu.org>; Tue, 16 Aug 2016 20:57:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=5ew/jSCrPkfjL1iI7W0nWEbbnY24Q01IP4KZs+uo5Xw=; b=dW7/jk9HCRZseVWb7ILI0Bt0VexZNIo95zSKq0Cyi3no2HB1d1qyxyI7SFFvEw5LDb YF1i7z+zKa462cwBYowQB0RsligRhFVEKEQyUymZ9tX3loswSBVAQT242LEhSRqHwXbf MiYIyeOTeyoy3m5N1L52do46bMTfm/qgJG/+cBOMWSjGW5rcCytvBSmb1rZCLrQizd0s VYpxqtZ4cUJIXp2DbT8isqK2A2GvsRjSVemC8YeGlILeJagRFwYCTWs8pdlZ2Ik7QH27 wwQxP+vjjA6hOIeq2GV+F6t6UbA83UopFL5ycq9qYyd5spY2bWxXuDsYbeoO4xnsP6NS BVFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=5ew/jSCrPkfjL1iI7W0nWEbbnY24Q01IP4KZs+uo5Xw=; b=GqKRlN6JQM9Xfg/KL3INMEUsTxcis114CFw7adYQbCiTBnKcCbefmicfMreuipaGOn wRGCYFul7yrI+Nh/9GEc0UZcbl4SK19jQMS1vfQMdppQhHtdAGflb/b7g+7Zy99ScC4c 2aCFRC1ZcPMbIpnUHg5oWQ0BK0KJpb0ixXNgsTxkDX01LEyD8kfA+dHyp2H8OAulnH2u RkVTQWP0pENvfAVXnb4xGqiQFw/+mlxgHgWVstVLZaPXLg/plmGp/W4MGwwb1tfRZ3jv tuDWyEuCiHSJqnD+nc8RwwGhaNHFy2CkEE5DRtHSiQEIl5ubWPUcR/VBZQ5t16Q1kmIs Jm5Q== X-Gm-Message-State: AEkoouvdg9dqRLmlB6uM+pMju7/CsGS677/LQW+7k/BdEUbbtXK1T1VWg4cHSKHqA3fGQw== X-Received: by 10.25.22.217 with SMTP id 86mr6790145lfw.117.1471406229607; Tue, 16 Aug 2016 20:57:09 -0700 (PDT) Received: from [192.168.1.190] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id g69sm1215355lji.44.2016.08.16.20.57.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Aug 2016 20:57:09 -0700 (PDT) Subject: Re: bug#24239: 25.1; Potential regression: Multibyte text in HTTP request To: Eli Zaretskii References: <877fbhc109.fsf@cassou.me> <87twel6xl5.fsf@cassou.me> <5c4a3484-735b-10df-8fe9-89323fbe43c3@yandex.ru> <83bn0sg3kp.fsf@gnu.org> <0f709753-d7d8-c2ab-f8c2-19ff87316d60@yandex.ru> <837fbgf72d.fsf@gnu.org> From: Dmitry Gutov Message-ID: Date: Wed, 17 Aug 2016 06:57:08 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Thunderbird/47.0 MIME-Version: 1.0 In-Reply-To: <837fbgf72d.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 24239 Cc: damien@cassou.me, 24239@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) On 08/17/2016 05:44 AM, Eli Zaretskii wrote: >> The related change is for the previous bug report (23750), and the >> commit a98aa02a that added the "Multibyte text in HTTP request" error. > > Yes, but how is url-request-data related? Directly? The bug was about us setting Content-Length to a wrong value. Content-Length describes the size of the request body, which is assigned through url-request-data. > And are there any other > variables that should be mentioned? url-http-extra-headers, probably. But its contents are less likely to be multibyte. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 17 11:17:34 2016 Received: (at 24239) by debbugs.gnu.org; 17 Aug 2016 15:17:34 +0000 Received: from localhost ([127.0.0.1]:60401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ba2b0-0003O8-E5 for submit@debbugs.gnu.org; Wed, 17 Aug 2016 11:17:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56437) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ba2az-0003Nx-Fu for 24239@debbugs.gnu.org; Wed, 17 Aug 2016 11:17:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ba2ar-0007ru-AR for 24239@debbugs.gnu.org; Wed, 17 Aug 2016 11:17:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ba2ar-0007rg-7S; Wed, 17 Aug 2016 11:17:25 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1465 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ba2ap-0004xZ-F5; Wed, 17 Aug 2016 11:17:23 -0400 Date: Wed, 17 Aug 2016 18:17:26 +0300 Message-Id: <8337m3fmrd.fsf@gnu.org> From: Eli Zaretskii To: Dmitry Gutov In-reply-to: (message from Dmitry Gutov on Wed, 17 Aug 2016 06:57:08 +0300) Subject: Re: bug#24239: 25.1; Potential regression: Multibyte text in HTTP request References: <877fbhc109.fsf@cassou.me> <87twel6xl5.fsf@cassou.me> <5c4a3484-735b-10df-8fe9-89323fbe43c3@yandex.ru> <83bn0sg3kp.fsf@gnu.org> <0f709753-d7d8-c2ab-f8c2-19ff87316d60@yandex.ru> <837fbgf72d.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 24239 Cc: damien@cassou.me, 24239@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) > Cc: damien@cassou.me, 24239@debbugs.gnu.org > From: Dmitry Gutov > Date: Wed, 17 Aug 2016 06:57:08 +0300 > > On 08/17/2016 05:44 AM, Eli Zaretskii wrote: > > >> The related change is for the previous bug report (23750), and the > >> commit a98aa02a that added the "Multibyte text in HTTP request" error. > > > > Yes, but how is url-request-data related? > > Directly? The bug was about us setting Content-Length to a wrong value. > Content-Length describes the size of the request body, which is assigned > through url-request-data. Yes, I know. My problem is that I don't see how binding url-request-data affects the payload that url-http-create-request creates. I'm probably missing something obvious, but what? > > And are there any other > > variables that should be mentioned? > > url-http-extra-headers, probably. But its contents are less likely to be > multibyte. OK, so I guess the entry is OK as it is. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 17 14:02:52 2016 Received: (at 24239) by debbugs.gnu.org; 17 Aug 2016 18:02:52 +0000 Received: from localhost ([127.0.0.1]:60508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ba5Ay-0007Pe-Ft for submit@debbugs.gnu.org; Wed, 17 Aug 2016 14:02:52 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:33707) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ba5Aw-0007PO-5j for 24239@debbugs.gnu.org; Wed, 17 Aug 2016 14:02:50 -0400 Received: by mail-wm0-f65.google.com with SMTP id o80so26705578wme.0 for <24239@debbugs.gnu.org>; Wed, 17 Aug 2016 11:02:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=bVg616beOxDbdAvCtbhTbstsvLqquRG8xdKIk++3Oqw=; b=ySIHUbkMchLrth0oBgo6ggjkQl2hzLW1Nvl9zQqR5FQgrqMKbH/8oUc646MxVaUvmh BMiBkse16JT+f9kfnRcgHx8GREmtSLhp7rvOl1doFLTYrDeAC20huyGKRtE5CQkvO3IW Z811QY89zkOhYUbX5EB2r0PMbbqr/ztjG91HXWNTkc1qBIJU01MB839m02zvshj166Fw m8he3LWxcoF18u2zVuXjNV099Y6zAuQ8GaOzDZ8S+pAYJ0x4r0AxJLnIvrt9T7weqx4a MzWz7NOWIfG0XLoLF9r3KIPlJhawNxv+p9YjH1MqUml2UjW2tiqpvZPHiiCk8WQ4znOA 2Kow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=bVg616beOxDbdAvCtbhTbstsvLqquRG8xdKIk++3Oqw=; b=FPZfHbK6xL98RUCbnUhmGS0IRiIwMtim4Xh/nNcoQvXWPard+I8erw/K35K+k/EF51 R4iqV4viSv/CbVzHpd2jG9BiiugXRooB4hLYji6tlcXvrTCe7hC94MvCzAU299renDhw fOSmKYBxjpfA4BTHwdD8NFEGR+bYvmfuyPwibYTpn6HwTBTpYtDt0TvO28BI+rXw4Ity FvkPBMLpZ+RvlbMeZ7h2zm8+Pb45+CrWC695gRtYBZ5YnTaVpfoUwHvQHqdAV6Ob/oUs yhqOTx9mQBXxyTVmSUtYQxRLFRyb5rPXQYfpkZHBbXcd79eQa5d2xOEEpY4EWuDUpfFp mkAA== X-Gm-Message-State: AEkoouuOYlcOAxdQT5fdzJOdSDqqgj/XkAB9cM//utVr78bix2mFFEMYJg3XuCuUsSlwAw== X-Received: by 10.25.23.8 with SMTP id n8mr6841469lfi.205.1471456964489; Wed, 17 Aug 2016 11:02:44 -0700 (PDT) Received: from [192.168.1.190] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id 78sm5110072lfv.39.2016.08.17.11.02.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Aug 2016 11:02:43 -0700 (PDT) Subject: Re: bug#24239: 25.1; Potential regression: Multibyte text in HTTP request To: Eli Zaretskii References: <877fbhc109.fsf@cassou.me> <87twel6xl5.fsf@cassou.me> <5c4a3484-735b-10df-8fe9-89323fbe43c3@yandex.ru> <83bn0sg3kp.fsf@gnu.org> <0f709753-d7d8-c2ab-f8c2-19ff87316d60@yandex.ru> <837fbgf72d.fsf@gnu.org> <8337m3fmrd.fsf@gnu.org> From: Dmitry Gutov Message-ID: Date: Wed, 17 Aug 2016 21:02:42 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Thunderbird/47.0 MIME-Version: 1.0 In-Reply-To: <8337m3fmrd.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 24239 Cc: damien@cassou.me, 24239@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) On 08/17/2016 06:17 PM, Eli Zaretskii wrote: > Yes, I know. My problem is that I don't see how binding > url-request-data affects the payload that url-http-create-request > creates. I'm probably missing something obvious, but what? url-http sets url-http-data to the value of url-request-data. And url-http-create-request references url-http-data in two places. It's a bit confusing indeed. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 17 14:31:31 2016 Received: (at 24239) by debbugs.gnu.org; 17 Aug 2016 18:31:31 +0000 Received: from localhost ([127.0.0.1]:60522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ba5ch-00089C-F7 for submit@debbugs.gnu.org; Wed, 17 Aug 2016 14:31:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ba5cf-00088y-2R for 24239@debbugs.gnu.org; Wed, 17 Aug 2016 14:31:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ba5cV-0005P1-JU for 24239@debbugs.gnu.org; Wed, 17 Aug 2016 14:31:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ba5cV-0005OH-Gj; Wed, 17 Aug 2016 14:31:19 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1731 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ba5cP-0000pp-GY; Wed, 17 Aug 2016 14:31:16 -0400 Date: Wed, 17 Aug 2016 21:31:01 +0300 Message-Id: <83shu3dz8a.fsf@gnu.org> From: Eli Zaretskii To: Dmitry Gutov In-reply-to: (message from Dmitry Gutov on Wed, 17 Aug 2016 21:02:42 +0300) Subject: Re: bug#24239: 25.1; Potential regression: Multibyte text in HTTP request References: <877fbhc109.fsf@cassou.me> <87twel6xl5.fsf@cassou.me> <5c4a3484-735b-10df-8fe9-89323fbe43c3@yandex.ru> <83bn0sg3kp.fsf@gnu.org> <0f709753-d7d8-c2ab-f8c2-19ff87316d60@yandex.ru> <837fbgf72d.fsf@gnu.org> <8337m3fmrd.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 24239 Cc: damien@cassou.me, 24239@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) > Cc: damien@cassou.me, 24239@debbugs.gnu.org > From: Dmitry Gutov > Date: Wed, 17 Aug 2016 21:02:42 +0300 > > url-http sets url-http-data to the value of url-request-data. And > url-http-create-request references url-http-data in two places. Got it, thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 21 06:28:04 2016 Received: (at 24239) by debbugs.gnu.org; 21 Sep 2016 10:28:04 +0000 Received: from localhost ([127.0.0.1]:58811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmel2-00009l-8e for submit@debbugs.gnu.org; Wed, 21 Sep 2016 06:28:04 -0400 Received: from bender.ldn-fai.net ([80.67.188.162]:36638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmekz-00009F-FJ for 24239@debbugs.gnu.org; Wed, 21 Sep 2016 06:28:02 -0400 From: Damien Cassou To: Dmitry Gutov , 24239@debbugs.gnu.org Subject: Re: bug#24239: 25.1; Potential regression: Multibyte text in HTTP request In-Reply-To: <5c4a3484-735b-10df-8fe9-89323fbe43c3@yandex.ru> References: <877fbhc109.fsf@cassou.me> <87twel6xl5.fsf@cassou.me> <5c4a3484-735b-10df-8fe9-89323fbe43c3@yandex.ru> Date: Wed, 21 Sep 2016 12:27:52 +0200 Message-ID: <8760pp1r9z.fsf@cassou.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: 24239 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.1 (---) Dmitry Gutov writes: > On 08/16/2016 09:23 AM, Damien Cassou wrote: > >> - what will happen to my multibyte characters (such as ⇒) that I'm using >> for months and that worked well with Emacs 24? > > Unibyte != ASCII. Use encode-coding-string. sorry, I don't understand how to do that. org-caldav code is quite simple. The two important functions are: https://github.com/dengste/org-caldav/blob/master/org-caldav.el#L1246 https://github.com/dengste/org-caldav/blob/master/org-caldav.el#L315 (defun org-caldav-put-event (buffer) "Add event in BUFFER to calendar. The filename will be derived from the UID." [...] (org-caldav-save-resource (concat (org-caldav-events-url) uid org-caldav-uuid-extension) (encode-coding-string (buffer-string) 'utf-8)))))) (defun org-caldav-save-resource (url obj) "Save string OBJ as URL using WebDAV." (let* ((url-request-extra-headers '(("Content-type" . "text/calendar; charset=UTF-8"))) (url-request-method "PUT") (url-request-data obj) (buffer (url-retrieve-synchronously url)) result) [...])) As you can see, encode-coding-string is already used to encode to utf-8. Do I have to switch from utf-8 to iso-8859-*? Sorry, I'm lost. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 21 06:35:09 2016 Received: (at 24239) by debbugs.gnu.org; 21 Sep 2016 10:35:09 +0000 Received: from localhost ([127.0.0.1]:58829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmert-0000OE-3D for submit@debbugs.gnu.org; Wed, 21 Sep 2016 06:35:09 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:35416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmerr-0000Nm-O5 for 24239@debbugs.gnu.org; Wed, 21 Sep 2016 06:35:08 -0400 Received: by mail-wm0-f46.google.com with SMTP id l132so259873338wmf.0 for <24239@debbugs.gnu.org>; Wed, 21 Sep 2016 03:35:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=OJNewsSz0D7v24m4jVHnUZ+3s3W83mwmoOmuhZHQkl0=; b=enHZ+EDzQg/jNTzxpXK6ouhuCzO9wzRRBuHoZMEcjla3tS+QXDSqBVLk9WCRRWZzHr YcwxbmYZUNVPTby1/R+il4tpDdjk8mfpjq3sXlyN1sqTX4kaqLU8HdtvQlVrDpZhgtJe FaAE+0a2OlpIbd5sx+7mDj8C2KBZDuOyCRpqXZChlw9LxuaR9x7cIwJja8hKwzEgfZ0s 6t0Ix+v+dZyY2lEMQAaKnc1i4s7r0Cu/0vpEvFe83STmfjcVoQzW12aF8pdIkRH2tO5d 2ByS8mU4U5YZn/ZViYtr95nQ5qksT6CZ0/uR3YgXxTaiZCZRa2bjhBy3CTizsu5uF8Q3 XsPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=OJNewsSz0D7v24m4jVHnUZ+3s3W83mwmoOmuhZHQkl0=; b=AqVOHA//ME5hR3xYfTxGgcYuUbuiFAYsBTJLp3RaxomLJtqKub9OOHw0c5TITA4JaF sSApr0lZr39C7cclBex/UdEpaZ5iyfDcbS2lOh8/WcmXFRnMY8imW1/2flYGidrLa//v NWEb/pfmHCq6E7Hq8qO7Libxna6a77slq4fu6zGedhNm7ujXLyl8nxNU39zBDW/ORuFZ XreCVXKQsJuOUkB67Jw39zQqmMP4RW26Zl/MGh7fC7FxjppqlRT7YUwCkCCi6wyPXk7m 220PRSqtyppvMDMWLSAiWC47vxuan9PAOZoE2I0A6ClQkqGXPvLRenDM0YIAfeFcdYdM G87w== X-Gm-Message-State: AE9vXwOHd2C5Iqbr60eCCrF50U29jBpwCZHIKmHp78lKyKZRQCL81zGmYUKomE59epg0vw== X-Received: by 10.28.9.210 with SMTP id 201mr2700663wmj.95.1474454101569; Wed, 21 Sep 2016 03:35:01 -0700 (PDT) Received: from [192.168.1.3] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id lz5sm32712141wjb.24.2016.09.21.03.35.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Sep 2016 03:35:00 -0700 (PDT) Subject: Re: bug#24239: 25.1; Potential regression: Multibyte text in HTTP request To: Damien Cassou , 24239@debbugs.gnu.org References: <877fbhc109.fsf@cassou.me> <87twel6xl5.fsf@cassou.me> <5c4a3484-735b-10df-8fe9-89323fbe43c3@yandex.ru> <8760pp1r9z.fsf@cassou.me> From: Dmitry Gutov Message-ID: Date: Wed, 21 Sep 2016 13:34:58 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Thunderbird/49.0 MIME-Version: 1.0 In-Reply-To: <8760pp1r9z.fsf@cassou.me> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24239 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) On 21.09.2016 13:27, Damien Cassou wrote: > Do I have to switch from utf-8 to iso-8859-*? Not at all (the strings must be unibyte, that's the only condition), the code above looks fine. Are you using the release version? If not, you might want to upgrade. We've fixed a subtle bugs with cookies in the meantime. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 21 09:16:20 2016 Received: (at 24239) by debbugs.gnu.org; 21 Sep 2016 13:16:20 +0000 Received: from localhost ([127.0.0.1]:58898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmhNr-0005uR-NU for submit@debbugs.gnu.org; Wed, 21 Sep 2016 09:16:19 -0400 Received: from bender.ldn-fai.net ([80.67.188.162]:37815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmhNk-0005u7-UH for 24239@debbugs.gnu.org; Wed, 21 Sep 2016 09:16:17 -0400 From: Damien Cassou To: Dmitry Gutov , 24239@debbugs.gnu.org Subject: Re: bug#24239: 25.1; Potential regression: Multibyte text in HTTP request In-Reply-To: References: <877fbhc109.fsf@cassou.me> <87twel6xl5.fsf@cassou.me> <5c4a3484-735b-10df-8fe9-89323fbe43c3@yandex.ru> <8760pp1r9z.fsf@cassou.me> Date: Wed, 21 Sep 2016 15:16:04 +0200 Message-ID: <87y42lz94b.fsf@cassou.me> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: 24239 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.1 (---) Dmitry Gutov writes: > On 21.09.2016 13:27, Damien Cassou wrote: > >> Do I have to switch from utf-8 to iso-8859-*? > > Not at all (the strings must be unibyte, that's the only condition), the > code above looks fine. > > Are you using the release version? If not, you might want to upgrade. > We've fixed a subtle bugs with cookies in the meantime. it seems Emacs 25.1 doesn't have the problem. It was indeed a bug after all :-). Thanks -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 08 19:35:56 2018 Received: (at 24239) by debbugs.gnu.org; 9 Feb 2018 00:35:57 +0000 Received: from localhost ([127.0.0.1]:34497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejwfU-0004b5-N5 for submit@debbugs.gnu.org; Thu, 08 Feb 2018 19:35:56 -0500 Received: from mail-it0-f46.google.com ([209.85.214.46]:36762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejwfS-0004an-T5; Thu, 08 Feb 2018 19:35:55 -0500 Received: by mail-it0-f46.google.com with SMTP id n206so8692192itg.1; Thu, 08 Feb 2018 16:35:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=uRqLqeJ87CDK5Yl8BGhpFi6PGn9Ae10kco9Yk1yrldM=; b=l82aw1pDXnPhZdM58yv6zB24fztzMbSi0zHsfS2hucs6aLNu8Gr09Itl0/V9BLvp96 /bktuYjcV3mt3SLndH76NQ2GSmN7A1rL1SxzrwPr36KxEwf+Qy4KLbE/fQo2qLG8bIP3 j27V3is1p+jiEpjXBaJ3L8yWCA+Ms962GXJCX02RxQ7NgsTCOMl8o8CnWbJw07clSt0/ Nbu8pchfTrlUwAjdEfw0IZMp8+R6pzJRCDdO+A3/Gbc0OVZD1uncKgkxzq8SFg4a4u4Y r9PkbiaEqAZdSU11rIwdmlC21PFHtQd5/ppzqINFiqB3rACdVbhf44kRYeEstXZjes6Q mXtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=uRqLqeJ87CDK5Yl8BGhpFi6PGn9Ae10kco9Yk1yrldM=; b=BQrDivj9mwQcYgAY6CK1OeG6+OLfcjTonjDrjBcMhDPKMShS0ZZC/MKDyFkj+vlL84 /SbzKPcqCfPSFKabquj7e6pnoYprEIrDzEprj/DTJfUQWDW/8ppI5xf+4Oa7+J6dxnqN ws8YAMKxYDTb/HhlhheoCpqvP1KmEePR1o70HXfuh8wB/so8Gkn6ix9EA6+Rl4pxToX+ 2SExuwIBk1cSLCCl/o7WccRKrknMggbtFAI5vQ7OIzmBmGSUhqoJwzxKCsHVWWD6n8ZT daWKq+fvtetpp6cdczqsyJrb829DDm6Ic2uFO/JnrBoY8zJpZpVc9tWtn+AlWEE5o3LJ djgg== X-Gm-Message-State: APf1xPBPI0wfCpcLThxE9yH9laOL4nis3/E3HfzbI3rgP4hnLVwGW08J 0uEUeI425OP7hLj7ohuNutj8tg== X-Google-Smtp-Source: AH8x224CXrl3zYtizrD7AgjwjyC707aGw/J4LxG8tiGIsPFt001aO+QGm0Vwt9SUiayGKzAJFSMolQ== X-Received: by 10.36.142.3 with SMTP id h3mr1361976ite.112.1518136549362; Thu, 08 Feb 2018 16:35:49 -0800 (PST) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id d39sm902565ioj.55.2018.02.08.16.35.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Feb 2018 16:35:48 -0800 (PST) From: Noam Postavsky To: Damien Cassou Subject: Re: bug#24239: 25.1; Potential regression: Multibyte text in HTTP request References: <877fbhc109.fsf@cassou.me> <87twel6xl5.fsf@cassou.me> <5c4a3484-735b-10df-8fe9-89323fbe43c3@yandex.ru> <8760pp1r9z.fsf@cassou.me> <87y42lz94b.fsf@cassou.me> Date: Thu, 08 Feb 2018 19:35:47 -0500 In-Reply-To: <87y42lz94b.fsf@cassou.me> (Damien Cassou's message of "Wed, 21 Sep 2016 15:16:04 +0200") Message-ID: <87372bdmos.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 24239 Cc: 24239@debbugs.gnu.org, Dmitry Gutov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) tags 24239 fixed close 24239 25.1 quit Damien Cassou writes: > it seems Emacs 25.1 doesn't have the problem. It was indeed a bug after > all :-). I take it that means the bug should be closed. From unknown Sun Jun 22 20:56:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 09 Mar 2018 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator