From 5d16e9d381936c9a26fc431e88ecefd90a47cc8e Mon Sep 17 00:00:00 2001 From: Tim Vaughan Date: Wed, 27 May 2020 09:14:14 +0200 Subject: [PATCH] Unescape gopher selectors when extracting from URLs. --- elpher.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/elpher.el b/elpher.el index 6b9e0d2..2879257 100644 --- a/elpher.el +++ b/elpher.el @@ -4,7 +4,7 @@ ;; Author: Tim Vaughan ;; Created: 11 April 2019 -;; Version: 2.7.7 +;; Version: 2.7.8 ;; Keywords: comm gopher ;; Homepage: http://thelambdalab.xyz/elpher ;; Package-Requires: ((emacs "26")) @@ -70,7 +70,7 @@ ;;; Global constants ;; -(defconst elpher-version "2.7.7" +(defconst elpher-version "2.7.8" "Current version of elpher.") (defconst elpher-margin-width 6 @@ -358,7 +358,7 @@ If no address is defined, returns 0. (This is for compatibility with the URL li "Retrieve gopher selector from ADDRESS object." (if (member (url-filename address) '("" "/")) "" - (substring (url-filename address) 2))) + (url-unhex-string (substring (url-filename address) 2)))) ;; Cache -- 2.20.1