From 0b80009075cff7c8c0796668f7b7033b6354b265 Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Fri, 5 Feb 2021 01:40:25 +0900 Subject: [PATCH] (www-uri-decode-feature-name): Decode "meta." -> `*'. (www-uri-encode-feature-name): Encode `*' -> `*'. --- chiset-common.el | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/chiset-common.el b/chiset-common.el index e13cc36..9dc6296 100644 --- a/chiset-common.el +++ b/chiset-common.el @@ -104,6 +104,11 @@ (est-uri-decode-feature-name-body (substring uri-feature (match-end 0))))) ) + ((string-match "^meta\\." uri-feature) + (intern (format "*%s" + (est-uri-decode-feature-name-body + (substring uri-feature (match-end 0))))) + ) ((string-match "^rep\\." uri-feature) (intern (format "=%s" (est-uri-decode-feature-name-body @@ -225,6 +230,11 @@ (est-uri-encode-feature-name-body (substring feature-name (match-end 0)))) ) + ((string-match "^\\*" feature-name) + (concat "meta." + (est-uri-encode-feature-name-body + (substring feature-name (match-end 0)))) + ) (t (est-uri-encode-feature-name-body feature-name)))) -- 1.7.10.4