(www-uri-decode-feature-name): Decode "meta.<name>" -> `*<name>'.
authorMORIOKA Tomohiko <tomo.git@chise.org>
Thu, 4 Feb 2021 16:40:25 +0000 (01:40 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Tue, 9 Feb 2021 08:22:18 +0000 (17:22 +0900)
(www-uri-encode-feature-name): Encode `*<name>' -> `*<name>'.

chiset-common.el

index e13cc36..9dc6296 100644 (file)
                      (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
            (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))))